@Test public void testOverrideFinish() {

	// Arrange:
	final Activity mockActivity = mock(TestActivity.class);
	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);
	// Act:
	transition.overrideFinish(mockActivity);
	// Assert:
	verify(mockActivity).overridePendingTransition(finishEnterAnimation, finishExitAnimation);
	verifyNoMoreInteractions(mockActivity);
}