// static String process ="yao-invoice_en";
@Deployment
public static WebArchive createDeployment() {
MavenDependencyResolver resolver = DependencyResolvers.use(MavenDependencyResolver.class).goOffline().loadMetadataFromPom("pom.xml");
return ShrinkWrap.create(WebArchive.class, "test.war")
// prepare as process application archive for fox platform
// .addAsManifestResource("ARQUILLIAN-MANIFEST-JBOSS7.MF", "MANIFEST.MF")
.addAsLibraries(resolver.artifact("com.camunda.fox.platform:fox-platform-client").resolveAsFiles())
.addAsWebResource("META-INF/processes.xml", "WEB-INF/classes/META-INF/processes.xml")
// add your own classes (could be done one by one as well)
//.addPackages(true, "com.camunda.fox.showcase.invoice")
.addPackages(true, "com.camunda.fox.showcase.invoice.test.mock")
// add process definition