@Deployment public static Archive<?> getDeployment() { return ShrinkWrapUtils.createJavaArchive( "bogus.jar", ParseAndMarshalModelsTestCase.class.getPackage()) .add( new Asset() { public InputStream openStream() { return new ByteArrayInputStream( "Dependencies: org.jboss.staxmapper,org.jboss.as.controller,org.jboss.as.deployment-repository,org.jboss.as.server,org.jboss.as.host-controller,org.jboss.as.domain-management\n\n" .getBytes()); } }, "META-INF/MANIFEST.MF"); }
@Deployment public static Archive<?> getDeployment() { initModelControllerClient("localhost", 9999); return ShrinkWrapUtils.createEmptyJavaArchive("dummy"); }