{
Map<String, String> configuration = new HashMap<String, String>();
configuration.put(Constants.FRAMEWORK_STORAGE, "target/papoose");
FrameworkFactory factory = new PapooseFrameworkFactory();
final Framework framework = factory.newFramework(configuration);
FrameworkEvent frameworkEvent = framework.waitForStop(0);
assertNotNull(frameworkEvent);
assertEquals(FrameworkEvent.STOPPED, frameworkEvent.getType());