assembler.createResource(config.configureService("Default JDBC Database", ResourceInfo.class));
// unmanaged JDBC
assembler.createResource(config.configureService("Default Unmanaged JDBC Database", ResourceInfo.class));
ContainerSystem containerSystem = SystemInstance.get().getComponent(ContainerSystem.class);
DataSource managedDS = (DataSource) containerSystem.getJNDIContext().lookup("java:openejb/Resource/Default JDBC Database");
assertNotNull("managedDS is null", managedDS);
DataSource unmanagedDS = (DataSource) containerSystem.getJNDIContext().lookup("java:openejb/Resource/Default Unmanaged JDBC Database");
assertNotNull("unmanagedDS is null", unmanagedDS);
// test without a transaction
// NOTE: without a transaction all connections work as unmanaged
verifyUnmanagedConnections(managedDS);