}
@Test
public void testDedupByCustomObjectKeyWithSequenceFileInputFormat() throws Exception {
Student student1 = setStudent(new Text("Sam"),new Text("US"),new IntWritable(1),
new LongWritable(9999999998l),new DoubleWritable(99.12));
Student student2 = setStudent(new Text("John"),new Text("AUS"),new IntWritable(2),
new LongWritable(9999999999l),new DoubleWritable(90.12));
Student student3 = setStudent(new Text("Mary"),new Text("UK"),new IntWritable(3),
new LongWritable(9999999988l),new DoubleWritable(69.12));
Student student4 = setStudent(new Text("Kelvin"),new Text("UK"),new IntWritable(4),
new LongWritable(9999998888l),new DoubleWritable(59.12));
HashMap<Student, Text> inputData1 = new HashMap<Student, Text>();
inputData1.put(student1, new Text("Macon Kent,6269 Aenean St.,1-247-399-1051,08253"));
inputData1.put(student2, new Text("Dale Zamora,521-7792 Mauris Rd.,1-214-625-6970,90510"));