FeaturesServiceImpl svc = new FeaturesServiceImpl();
svc.setBundleContext(bundleContext);
svc.addRepository(uri);
List<Feature> features = Arrays.asList(svc.listFeatures());
Collections.reverse(features);
svc.installFeatures(new CopyOnWriteArraySet<Feature>(features),
EnumSet.noneOf(FeaturesService.Option.class));
// verify(preferencesService, prefs, repositoriesNode, featuresNode, bundleContext, installedBundle1, installedBundle2);