ActionBarAnnotationHandlers extends AnnotationHandlers { @Nullable public static ActionBarFragmentAnnotationHandler obtainActionBarFragmentHandler(@NonNull final Class<?> classOfFragment) { return obtainHandler(ActionBarFragmentHandler.class, classOfFragment); }  @Nullable static ActionBarFragmentAnnotationHandler obtainActionBarFragmentHandler(@NonNull final Class<?> classOfFragment);  }
@Test public void testObtainFragmentHandler() { final ActionBarFragmentAnnotationHandler handler = ActionBarAnnotationHandlers.obtainActionBarFragmentHandler(TestFragment.class); assertThat(handler, is(notNullValue())); assertThat(handler, instanceOf(ActionBarAnnotationHandlers.ActionBarFragmentHandler.class)); }