assertTrue(secondOutput.contains("disposed=true")); // check the previous cycle disposed the bean
}
@Deployment(testable = false)
public static WebArchive createDeployment() {
return new WebModule(ServletDisposeRequestScopeTest.class, ServletDisposeRequestScopeTest.class)
.getArchive()
.setWebXML(new StringAsset(Descriptors.create(WebAppDescriptor.class).version(WebAppVersionType._3_0).exportAsString()))
.addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
}