@Test public void testInvalidateActionBar() {

	// Arrange:
	final ActionBarFragment fragment = new TestFragment();
	final ActionBarDelegate mockActionBarDelegate = mock(ActionBarDelegate.class);
	fragment.actionBarDelegate = mockActionBarDelegate;
	// Act:
	fragment.invalidateActionBar();
	// Assert:
	verify(mockActionBarDelegate).setIcon(TestFragment.ICON_RESOURCE);
	verify(mockActionBarDelegate).setTitle(TestFragment.TITLE_RESOURCE);
	verifyNoMoreInteractions(mockActionBarDelegate);
}