UnknownPKLocalHome home = getUnknownPKHome("local/TestOtherEJB");
UnknownPKLocal ejb1 = home.create("testOtherKeyGenerator1");
UnknownPKLocal ejb2 = home.create("testOtherKeyGenerator2");
try
{
UnknownPKLocal ejb1a = home.findByPrimaryKey(ejb1.getPrimaryKey());
assertTrue(ejb1.isIdentical(ejb1a));
assertEquals("testOtherKeyGenerator1", ejb1a.getValue());
assertTrue(ejb1.isIdentical(ejb2) == false);
assertTrue(ejb1.getPrimaryKey().equals(ejb2.getPrimaryKey()) == false);
}