replay(bundleManager);
FeaturesServiceImpl svc = new FeaturesServiceImpl(bundleManager);
svc.addRepository(uri);
svc.installFeature("f1", "0.1");
svc.uninstallFeature("f1", "0.1");
svc.uninstallFeature("f2", "0.1");
verify(bundleManager);
}
@Test
public void testInstallFeatureWithDependantFeaturesAndNoVersionWithoutPreinstall() throws Exception {