@Test public void testGetActionBar() {

	// Arrange:
	final ActionBarFragment fragment = new TestFragment();
	final ActivityDelegate mockDelegate = mock(ActivityDelegate.class);
	fragment.activityDelegate = mockDelegate;
	final ActionBar mockActionBar = mock(ActionBar.class);
	when(mockDelegate.getActionBar()).thenReturn(mockActionBar);
	// Act + Assert:
	assertThat(fragment.getActionBar(), is(mockActionBar));
	verify(mockDelegate).getActionBar();
	verifyNoMoreInteractions(mockDelegate);
}