assertNotNull("The EJBHome returned from JNDI is null", home);
EncCmpObject object = home.create("test_52 CmpBean");
assertNotNull("The EJBObject created is null", object);
Handle expected = object.getHandle();
assertNotNull("The EJBObject Handle returned is null", expected);
assertNotNull("The EJBObject in the Handle is null", expected.getEJBObject());
ObjectGraph graph = ejbObject.returnObjectGraph(new ObjectGraph(expected));
assertNotNull("The ObjectGraph is null", graph);
Handle actual = (Handle) graph.getObject();
assertNotNull("The EJBObject Handle returned is null", actual);
assertNotNull("The EJBObject in the Handle is null", actual.getEJBObject());
EJBObject exp = expected.getEJBObject();
EJBObject act = actual.getEJBObject();
assertTrue("The EJBObjects in the Handles are not identical", exp.isIdentical(act));
} catch (Exception e) {
fail("Received Exception " + e.getClass() + " : " + e.getMessage());