prefs.putBoolean("bootFeaturesInstalled", false);
prefs.flush();
replay(preferencesService, prefs, repositoriesNode, featuresNode, bundleContext, installedBundle);
svc.installFeature("f1");
}
public void testUninstallFeature() throws Exception {
File tmp = File.createTempFile("smx", ".feature");
PrintWriter pw = new PrintWriter(new FileWriter(tmp));