@Test public void testDispatchBackPress() {

	// Arrange:
	final TestFragment fragment = new TestFragment();
	// Act + Assert:
	fragment.onBackPressResult = true;
	assertThat(fragment.dispatchBackPress(), is(fragment.onBackPressResult));
	fragment.onBackPressResult = false;
	assertThat(fragment.dispatchBackPress(), is(fragment.onBackPressResult));
}