setFrameworkStartLevel(context, fsl);
verifyThatBundlesAreResolved(bundles);
}
private void setFrameworkStartLevel(BundleContext context, final FrameworkStartLevel sl) {
FrameworkStartLevelOption startLevelOption = system
.getSingleOption(FrameworkStartLevelOption.class);
final int startLevel = startLevelOption == null ? START_LEVEL_TEST_BUNDLE
: startLevelOption.getStartLevel();
LOG.debug("Jump to startlevel: " + startLevel);
final CountDownLatch latch = new CountDownLatch(1);
context.addFrameworkListener(new FrameworkListener() {
@Override