@Test public void testWriteToParcel() {

	// Arrange:
	final int startEnterAnimation = android.R.anim.fade_in;
	final int startExitAnimation = android.R.anim.fade_out;
	final int finishEnterAnimation = android.R.anim.slide_in_left;
	final int finishExitAnimation = android.R.anim.slide_out_right;
	final BasicWindowTransition transition = new BasicWindowTransition(startEnterAnimation, startExitAnimation, finishEnterAnimation, finishExitAnimation, "TEST_TRANSITION");
	final Parcel parcel = Parcel.obtain();
	// Act:
	transition.writeToParcel(parcel, 0);
	// Assert:
	parcel.setDataPosition(0);
	assertThat(parcel.readInt(), is(startEnterAnimation));
	assertThat(parcel.readInt(), is(startExitAnimation));
	assertThat(parcel.readInt(), is(finishEnterAnimation));
	assertThat(parcel.readInt(), is(finishExitAnimation));
	assertThat(parcel.readString(), is("TEST_TRANSITION"));
	parcel.recycle();
}