container.close();
}
@Test
public void callUsingCDI() throws ScriptException {
final OpenEJBScripter shell = new OpenEJBScripter();
final Object out = shell.evaluate("groovy", "bm.beanFromName('OpenEJBGroovyShellTest', 'bar').test()");
assertEquals("ok", out);
}