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

	// Arrange:
	final FragmentActivity activity = Robolectric.buildActivity(TestCompatActivity.class).create().start().resume().get();
	final FragmentManager fragmentManager = activity.getSupportFragmentManager();
	final BaseFragment fragment = new TestFragment();
	fragmentManager.beginTransaction().add(fragment, null).commit();
	fragmentManager.executePendingTransactions();
	// Act + Assert:
	assertThat(
			fragment.inflateTransition(android.R.transition.fade),
			is(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP ? notNullValue() : nullValue())
	);
}