@Test (expected = FeatureManagementException.class)
public void checkFeatureManagementExceptionOnCallOnFeatureLoadedMethod()
        throws Exception {

    FeatureManagerActor actor = new FeatureManagerActor();
    OnFeatureLoadedWrapper wrapper = mock(OnFeatureLoadedWrapper.class);
    when(wrapper.getFeature()).thenThrow(ReadValueException.class);
    actor.onFeatureLoaded(wrapper);
    fail();
}