@Test
public void compare() {

    ChemObject co1 = new ChemObject();
    ChemObject co2 = new ChemObject();
    co1.setID(new String("a1"));
    co2.setID(new String("a1"));
    Assert.assertTrue(co1.compare(co2));
}