@SpecVersion(spec = "cdi", version = "20091101")
public class DataSourcePassivationDependencyTest extends AbstractTest {
@Deployment
public static WebArchive createTestArchive() {
return new WebArchiveBuilder()
.withTestClass(DataSourcePassivationDependencyTest.class)
.withClasses(Pool.class, Another.class, DataSourceProducer.class)
.withWebXml(
Descriptors.create(WebAppDescriptor.class).createResourceRef().resRefName("jdbc/TestDB")
.resType(DataSource.class.getName()).lookupName(ConfigurationFactory.get().getTestDataSource())