@Test
public void shouldReturnMetaDataWhenRequestedWithOtherFeatureImplementation() {
FeatureProvider provider = new EnumBasedFeatureProvider(ValidFeatureEnum.class);
FeatureMetaData metaData =
provider.getMetaData(new OtherFeatureImpl(ValidFeatureEnum.FEATURE1.name()));
assertThat(metaData.getLabel()).isEqualTo("First feature");
}