@Test
@SuppressWarnings("unchecked")
public void testLocalMethod()
{
EjbPlugin plugin = new EjbPlugin();
boolean value = plugin.isSessionBean(SimpleBean.class);
Assert.assertTrue(value);
GProcessAnnotatedType annotatedType = new GProcessAnnotatedType(WebBeansContext.getInstance().getAnnotatedElementFactory().newAnnotatedType(SimpleBean.class));
OpenEjbBean<SimpleBean> bean = (OpenEjbBean<SimpleBean>)plugin.defineSessionBean(SimpleBean.class, annotatedType);
Assert.assertNotNull(bean);
}