@Before
public void before() {
FeatureManager featureManager = new FeatureManagerBuilder()
.featureEnum(MyFeature.class)
.stateRepository(new InMemoryStateRepository())
.userProvider(new NoOpUserProvider())
.build();
ThreadLocalFeatureManagerProvider.bind(featureManager);
}