public void testRemoteClass() throws Exception { assertEquals("a.Main", EjbUtil.getRemoteInterface(beanRef).getQualifiedName()); }
public void testLocalClass() throws Exception { assertEquals("a.MainLocal", EjbUtil.getLocalInterface(beanRef).getQualifiedName()); }
public void testIsEntityBean() throws Exception { assertTrue(EjbUtil.isEnterpriseBean(bean.getTypeRef())); assertFalse(EjbUtil.isEnterpriseBean(p.getObjectRef())); }