/*-------------------------------------------------*/
public void testReturnEJBMetaData() {
try {
Object obj = initialContext.lookup("client/tests/stateless/EncBean");
EncStatelessHome home = (EncStatelessHome) obj;
assertNotNull("The EJBHome returned from JNDI is null", home);
EJBMetaData expected = home.getEJBMetaData();
assertNotNull("The EJBMetaData returned is null", expected);
EJBMetaData actual = ejbObject.returnEJBMetaData(expected);
assertNotNull("The EJBMetaData returned is null", actual);
assertEquals(expected.getHomeInterfaceClass(), actual.getHomeInterfaceClass());