@ClientStub
private RestaurantServiceAT client;
@Deployment
public static WebArchive createTestArchive() {
return ShrinkWrap.create(WebArchive.class, DEPLOYMENT_NAME + ".war")
<BUG>.addPackages(true, "org.jboss.as.test.xts.simple.wsat")
.addAsResource("context-handlers.xml")</BUG>
.addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"))
.addAsManifestResource(new StringAsset("Dependencies: org.jboss.xts,org.jboss.jts\n"), "MANIFEST.MF");
}

@ClientStub
private RestaurantServiceAT client;
@Deployment
public static WebArchive createTestArchive() {
return ShrinkWrap.create(WebArchive.class, DEPLOYMENT_NAME + ".war")
.addPackages(true, "org.jboss.as.test.xts.simple.wsat")
.addClass(TestSuiteEnvironment.class)
.addAsResource("context-handlers.xml")
.addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"))
.addAsManifestResource(new StringAsset("Dependencies: org.jboss.xts,org.jboss.jts\n"), "MANIFEST.MF");
}
