@Test public void testFragmentStarter() throws IllegalStateException {

	// Arrange:
	final Fragment fragment = Robolectric.buildFragment(TestFragment.class, TestActivity.class).create(TestActivity.CONTENT_VIEW_ID, null).get();
	// Act:
	final IntentStarter starter = IntentStarters.fragmentStarter(fragment);
	// Assert:
	assertThat(starter, is(notNullValue()));
	assertThat(starter.getContext(), instanceOf(TestActivity.class));
}