List<String> features = new ArrayList<String>();
for (Feature feature : svc.listFeatures()) {
features.add(feature.getId());
}
Collections.reverse(features);
svc.installFeatures(new CopyOnWriteArraySet<String>(features),
EnumSet.noneOf(FeaturesService.Option.class));
fail("Call should have thrown an exception");
} catch (Exception t) {
// Expected
}