@Test public void testWriteToParcel() {

	// Arrange:
	final int inAnimation = android.R.anim.fade_in;
	final int inAnimationBack = android.R.anim.fade_out;
	final int outAnimation = android.R.anim.slide_in_left;
	final int outAnimationBack = android.R.anim.slide_out_right;
	final BasicFragmentTransition transition = new BasicFragmentTransition(inAnimation, outAnimation, inAnimationBack, outAnimationBack, "TEST_TRANSITION");
	final Parcel parcel = Parcel.obtain();
	// Act:
	transition.writeToParcel(parcel, 0);
	// Assert:
	parcel.setDataPosition(0);
	assertThat(parcel.readInt(), is(inAnimation));
	assertThat(parcel.readInt(), is(outAnimation));
	assertThat(parcel.readInt(), is(inAnimationBack));
	assertThat(parcel.readInt(), is(outAnimationBack));
	assertThat(parcel.readString(), is("TEST_TRANSITION"));
	parcel.recycle();
}