DefaultFeatureManager implements FeatureManager { @Override public Set<Feature> getFeatures() { return Collections.unmodifiableSet(featureProvider.getFeatures()); } DefaultFeatureManager(String name, FeatureProvider featureProvider, StateRepository stateRepository,
        UserProvider userProvider, ActivationStrategyProvider activationStrategyProvider); @Override String getName(); @Override Set<Feature> getFeatures(); @Override FeatureMetaData getMetaData(Feature feature); @Override boolean isActive(Feature feature); @Override FeatureState getFeatureState(Feature feature); @Override void setFeatureState(FeatureState state); @Override List<ActivationStrategy> getActivationStrategies(); @Override FeatureUser getCurrentFeatureUser(); @Override String toString();  }
@Test public void testGetFeatures() { assertTrue(manager.getFeatures().containsAll(Arrays.asList(MyFeatures.DELETE_USERS, MyFeatures.EXPERIMENTAL, MyFeatures.MISSING_STRATEGY))); }