@Test public void testStartActionMode() {

	// Arrange:
	final ActionBarFragment fragment = new TestFragment();
	final ActivityDelegate mockActivityDelegate = mock(ActivityDelegate.class);
	final ActionMode mockActionMode = mock(ActionMode.class);
	when(mockActivityDelegate.startActionMode(any(ActionMode.Callback.class))).thenReturn(mockActionMode);
	fragment.activityDelegate = mockActivityDelegate;
	// Act + Assert:
	assertThat(fragment.startActionMode(), is(true));
	assertThat(fragment.isInActionMode(), is(true));
	assertThat(fragment.getActionMode(), is(mockActionMode));
}