final HookTestSpec hookTestSpec = new HookTestSpec();
final Method[] afterFeatureMethods = new Method[] { HookTestSpec.class.getDeclaredMethod("afterFeature", Feature.class, FeatureResult.class) };
final MByHave8Hooks hook = new HookAnnotations(null, null, null, afterFeatureMethods, null, null).toMByHaveHook(hookTestSpec);
hook.endFeature(mock(Feature.class), FeatureResult.Success);
assertTrue(HookTestSpec.afterFeature.get().get());
}