}
@SuppressWarnings("boxing")
public void testEquals() {
EOKeyGlobalID kgid1 = EOKeyGlobalID.globalIDWithEntityName(Company.ENTITY_NAME, new Integer[] { ERXTestUtilities.pkOne(ec, co) } );
ERXKeyGlobalID xkgid1 = ERXKeyGlobalID.globalIDForGID(kgid1);
ERXKeyGlobalID xkgid2 = ERXKeyGlobalID.globalIDForGID(kgid1);
Assert.assertFalse(kgid1.equals(xkgid1));
Assert.assertFalse(xkgid1.equals(kgid1));
Assert.assertTrue(xkgid1.equals(xkgid2));
Assert.assertTrue(xkgid2.equals(xkgid1));
EOEditingContext ec2 = ERXEC.newEditingContext();
EOEnterpriseObject co2 = ERXEOControlUtilities.localInstanceOfObject(ec2, co);
EOKeyGlobalID kgid2 = EOKeyGlobalID.globalIDWithEntityName(Company.ENTITY_NAME, new Integer[] { ERXTestUtilities.pkOne(ec2, co2) } );
ERXKeyGlobalID xkgid3 = ERXKeyGlobalID.globalIDForGID(kgid2);
Assert.assertFalse(kgid2.equals(xkgid3));
Assert.assertFalse(xkgid3.equals(kgid2));
Assert.assertTrue(xkgid1.equals(xkgid3));
Assert.assertTrue(xkgid3.equals(xkgid1));
}