46474849505152
return this; } public JBossStarter() { configuration = new ManagedContainerConfiguration(); }
495051525354555657
} @Before public void setup() { manager = Tasks.prepare(JBossStarter.class) .configuration(new ManagedContainerConfiguration().setJbossHome(JBOSS_HOME)) .execute() .await(); }
44454647484950515253
@Test public void startAndStopJBossContainer() { Tasks.prepare(JBossStarter.class) .configuration(new ManagedContainerConfiguration().setJbossHome(JBOSS_HOME)) .then(JBossStopper.class) .execute() .await(); }