@Test
@Override
public void testCompare_Object() {

    IAtomType someAt = new AtomType("C");
    if (someAt instanceof org.openscience.cdk.AtomType) {
        org.openscience.cdk.AtomType at = (org.openscience.cdk.AtomType) someAt;
        Assert.assertTrue(at.compare(at));
        IAtomType hydrogen = someAt.getBuilder().newInstance(IAtomType.class, "H");
        Assert.assertFalse(at.compare(hydrogen));
        Assert.assertFalse(at.compare("Li"));
    }
}