@Config(sdk = Build.VERSION_CODES.LOLLIPOP)
@Test public void testStartForFragmentAtLollipopApiLevel() {

	// Arrange:
	final FragmentActivity activity = Robolectric.buildActivity(TestCompatActivity.class).create().start().resume().get();
	final FragmentManager fragmentManager = activity.getSupportFragmentManager();
	final TestFragment fragment = new TestFragment();
	fragmentManager.beginTransaction().add(fragment, null).commit();
	fragmentManager.executePendingTransactions();
	final Transition transition = new Fade();
	final NavigationalCompatTransition navTransition = new TestTransition(SecondaryTestActivity.class).exitTransition(transition);
	// Act:
	navTransition.start(fragment);
	// Assert:
	assertThat(activity.getWindow().getExitTransition(), is(transition));
	assertThat(activity.isFinishing(), is(false));
	assertThat(fragment.hasBeenStartActivityCalled(TestFragment.START_ACTIVITY_WITH_OPTIONS), is(true));
	assertThat(fragment.hasBeenStartActivityCalled(
			TestFragment.START_ACTIVITY | TestFragment.START_ACTIVITY_FOR_RESULT | TestFragment.START_ACTIVITY_FOR_RESULT_WITH_OPTIONS
	), is(false));
}