@Deployment(testable = false)
public static WebArchive getDeployment()
{
return ShrinkWrap.create(WebArchive.class, EarlyRequestInjectionTest.class.getSimpleName() + ".war")
.addAsLibraries(ArchiveUtils.getDeltaSpikeCoreAndServletModuleArchive())
.addAsWebInfResource(new StringAsset("<beans/>"), "beans.xml")
.addClass(EarlyRequestInjectionFilter.class)
.addAsWebResource(new StringAsset("foobar"), "foobar.txt")
.setWebXML(new StringAsset(
Descriptors.create(WebAppDescriptor.class)
.filter(EarlyRequestInjectionFilter.class, "/*")
.exportAsString()));
}