@Test public void testFinishActionMode() {

	// Arrange:
	final ActionBarFragment fragment = new TestFragment();
	final ActionMode mockActionMode = mock(ActionMode.class);
	fragment.onActionModeStarted(mockActionMode);
	// Act:
	fragment.onActionModeFinished();
	// Assert:
	assertThat(fragment.isInActionMode(), is(false));
	assertThat(fragment.getActionMode(), is(nullValue()));
	verifyZeroInteractions(mockActionMode);
}