@SuppressWarnings("ResourceType")
@Test public void testOnCreateOptionsMenu() {

	// Arrange:
	final ActionBarFragment fragment = new TestFragmentWithMenuOptions();
	final Menu mockMenu = mock(Menu.class);
	final MenuInflater mockMenuInflater = mock(MenuInflater.class);
	// Act:
	fragment.onCreateOptionsMenu(mockMenu, mockMenuInflater);
	// Assert:
	verify(mockMenuInflater).inflate(TestFragmentWithMenuOptions.MENU_RESOURCE, mockMenu);
	verifyNoMoreInteractions(mockMenuInflater);
	verifyZeroInteractions(mockMenu);
}