@Test public void testImmediate() {

	// Arrange:
   	final FragmentRequest request = new FragmentRequest(mock(FragmentController.class), FragmentRequest.NO_ID);
	// Act + Assert:
	assertThat(request.immediate(true).immediate(), is(true));
	assertThat(request.hasFlag(FragmentRequest.IMMEDIATE), is(true));
	assertThat(request.immediate(false).immediate(), is(false));
	assertThat(request.hasFlag(FragmentRequest.IMMEDIATE), is(false));
}