assertNotNull("The EJBHome returned from JNDI is null", home);
final EncSingletonObject expected = home.create();
assertNotNull("The EJBObject created is null", expected);
final ObjectGraph graph = ejbObject.returnObjectGraph(new ObjectGraph(expected));
assertNotNull("The ObjectGraph is null", graph);
final EncSingletonObject actual = (EncSingletonObject)PortableRemoteObject.narrow(graph.getObject(), EncSingletonObject.class);
assertNotNull("The EJBObject returned is null", actual);
assertTrue("The EJBObejcts are not identical", expected.isIdentical(actual));
} catch (final Exception e){
fail("Received Exception "+e.getClass()+ " : "+e.getMessage());