@Test
@Override
public void testCompare_Object() {

    IAtom someAtom = new Atom("C");
    if (someAtom instanceof org.openscience.cdk.Atom) {
        org.openscience.cdk.Atom atom = (org.openscience.cdk.Atom) someAtom;
        Assert.assertTrue(atom.compare(atom));
        IAtom hydrogen = someAtom.getBuilder().newInstance(IAtom.class, "H");
        Assert.assertFalse(atom.compare(hydrogen));
        Assert.assertFalse(atom.compare("C"));
    }
}