@Test public void testCreateForFrameworkActivityWithoutActionBar() {

	// Arrange:
	final Activity mockActivity = mock(TestActivity.class);
	when(mockActivity.getActionBar()).thenReturn(null);
	// Act + Assert:
	assertThat(ActionBarDelegate.create(mockActivity), is(nullValue()));
}