@Test
@Override
public void testCompare_Object() {

    IChemObject object = newChemObject();
    IAtom c = object.getBuilder().newInstance(IAtom.class, "C");
    IAtom o = object.getBuilder().newInstance(IAtom.class, "O");
    IBond b = new Bond(c, o, IBond.Order.DOUBLE); // C=O bond
    IBond b2 = new Bond(c, o, IBond.Order.DOUBLE); // same C=O bond
    Assert.assertTrue(b.compare(b2));
}