Option[] options = new Option[] {
mavenBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.junit",
"4.9_2"),
systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("DEBUG") };
ExamSystem system = createTestSystem(options);
TestProbeProvider p = makeProbe(system);
TestContainer[] containers = PaxExamRuntime.getTestContainerFactory().create(system);
for (TestContainer testContainer : containers) {
testContainer.start();
}
try {
for (TestContainer testContainer : containers) {
testContainer.install(p.getStream());
}
for (TestContainer testContainer : containers) {
for (TestAddress test : p.getTests()) {
testContainer.call(test);
}
}
}
catch (Exception e) {