@SuppressWarnings("ConstantConditions")
@Test public void testOnViewCreatedWhenAnnotationsAreDisabled() {

	// Arrange:
	FragmentAnnotations.setEnabled(false);
	final BaseFragment fragment = new TestFragment();
	final View mockView = mock(FrameLayout.class);
	// Act:
	fragment.onViewCreated(mockView, null);
	// Assert:
	verifyZeroInteractions(mockView);
	FragmentAnnotations.setEnabled(true);
}