void function ( ) { new GameHostingController ( mockNavigator , null , mockServerCommunicator ) ; }
ensures the constructor throws a nullpointerexception when provided with a null controller factory . concode_field_sep IControllerFactory mockControllerFactory concode_elem_sep ServerCommunicator mockServerCommunicator concode_elem_sep IGameHostingController gameHostingController concode_elem_sep INavigator mockNavigator concode_elem_sep ICommand mockCommand concode_elem_sep Timer mockTimer concode_field_sep void testConstructorNavigatorNull concode_elem_sep void testMainMenuNavigatesBack concode_elem_sep void testStartOrStopGameExecutesRunningCommandWhenStarted concode_elem_sep void testMainMenuStopsGame concode_elem_sep void testControllerFactory concode_elem_sep void testStopGame concode_elem_sep void testConstructorServerCommunicatorNull concode_elem_sep void testStartGame concode_elem_sep void setUp concode_elem_sep void testStartOrStopGameExecutesRunningCommandWhenStopped concode_elem_sep void testServerCommunicator concode_elem_sep void testNavigator