@Test public void testUnregisterOnRequestListener() {

	// Arrange:
	final FragmentActivity activity = Robolectric.buildActivity(TestCompatActivity.class).create().start().resume().get();
	final FragmentController controller = new FragmentController(activity.getSupportFragmentManager());
	final FragmentController.OnRequestListener firstMockListener = mock(FragmentController.OnRequestListener.class);
	final FragmentController.OnRequestListener secondMockListener = mock(FragmentController.OnRequestListener.class);
	controller.registerOnRequestListener(firstMockListener);
	controller.registerOnRequestListener(secondMockListener);
	// Act:
	controller.unregisterOnRequestListener(firstMockListener);
	// Assert:
	final FragmentRequest mockRequest = new FragmentRequest(controller, FragmentRequest.NO_ID);
	controller.notifyRequestExecuted(mockRequest);
	verifyZeroInteractions(firstMockListener);
	verify(secondMockListener).onRequestExecuted(mockRequest);
	controller.unregisterOnRequestListener(secondMockListener);
	controller.notifyRequestExecuted(mockRequest);
	verifyNoMoreInteractions(secondMockListener);
}