Wiki

Clone wiki

MagDownloads / Arquillian - Listing 2

@Deployment
public static WebArchive createDeployment() {
    return ShrinkWrap.create(
            WebArchive.class, "PoolControllerTest.war")
       .addClass(
            org.javamagazine.arquillianexample.cdi.PoolController.class)
       .addClass(
            org.javamagazine.arquillianexample.entity.Pool.class)
       .addAsManifestResource(
            EmptyAsset.INSTANCE,"beans.xml");
}

Updated