Set<Feature> features = provider.getFeatures();
assertThat(features)
.hasSize(1)
.areExactly(1, featureNamed("F1"));
FeatureMetaData metadata = provider.getMetaData(new NamedFeature("F1"));
assertThat(metadata).isNotNull();
assertThat(metadata.getLabel()).isEqualTo("My Feature");
assertThat(metadata.isEnabledByDefault()).isFalse();
assertThat(metadata.getGroups()).isEmpty();