@Test public void testInvalidateActionBarWhenAnnotationsAreDisabled() {

	// Arrange:
	FragmentAnnotations.setEnabled(false);
	final ActionBarFragment fragment = new TestFragment();
	fragment.activityDelegate = mock(ActivityDelegate.class);
	// Act:
	// Only ensure that invocation of the method does not cause any troubles.
	fragment.invalidateActionBar();
}