djKey1 = new DataJoinKey(Byte.valueOf("1"), new Text("1"), new Text("1"), NegativeComparator.class);
djKey1_1 = new DataJoinKey(Byte.valueOf("1"), new Text("1"), new Text("2"), NegativeComparator.class);
djKey2 = new DataJoinKey(Byte.valueOf("1"), new Text("2"), new Text("1"), NegativeComparator.class);
Assert.assertEquals(-1, djKey1.compareTo(djKey2));
Assert.assertEquals(1, djKey2.compareTo(djKey1));
Assert.assertEquals(0, djKey1.compareTo(djKey1_1));
Assert.assertEquals(0, djKey1_1.compareTo(djKey1));
Assert.assertEquals(-1, djKey1.compare(djKey1, djKey2));
Assert.assertEquals(1, djKey1.compare(djKey2, djKey1));