source: class ActionBarFragmentTest extends BaseFragment {
  
  	@Test public void testOnCreateOptionsMenuWithoutMenuResource() {
  
target: 		// Arrange:
  		final ActionBarFragment fragment = new TestFragmentWithMenuOptionsWithoutResource();
  		final Menu mockMenu = mock(Menu.class);
  		final MenuInflater mockMenuInflater = mock(MenuInflater.class);
  		// Act:
  		fragment.onCreateOptionsMenu(mockMenu, mockMenuInflater);
  		// Assert:
  		verify(mockMenu).clear();
  		verifyNoMoreInteractions(mockMenu);
  		verifyZeroInteractions(mockMenuInflater);
  	}
  
  }