public class EjbContextTest extends TestCase {
public void test() throws Exception {
final Assembler assembler = new Assembler();
final ConfigurationFactory config = new ConfigurationFactory();
assembler.createSecurityService(config.configureService(SecurityServiceInfo.class));
assembler.createTransactionManager(config.configureService(TransactionServiceInfo.class));
final EjbJar ejbJar = new EjbJar();
ejbJar.addEnterpriseBean(new StatefulBean("Stateful", MySessionBean.class));
ejbJar.addEnterpriseBean(new StatelessBean("Stateless", MySessionBean.class));