@Test public void testFindCurrentFragment() {

	// Arrange:
	final FragmentManager mockManager = mock(FragmentManager.class);
	final Fragment mockFragment = mock(TestFragment.class);
	final FragmentController controller = new FragmentController(mockManager);
	controller.setViewContainerId(TestActivity.CONTENT_VIEW_ID);
	when(mockManager.findFragmentById(controller.getViewContainerId())).thenReturn(mockFragment);
	// Act + Assert:
	assertThat(controller.findCurrentFragment(), is(mockFragment));
	verify(mockManager).findFragmentById(controller.getViewContainerId());
}