void function ( ) { adminGuiController = new AdminGuiController ( ) ; eventFacade = context . mock ( IEventFacade . class ) ; campaignFacade = context . mock ( ICampaignFacade . class ) ; adminGuiController . setEventFacade ( eventFacade ) ; adminGuiController . setCampaignFacade ( campaignFacade ) ; }
setup the test context . create adminguicontroller , ieventfacade and icampaignfacade . concode_field_sep AdminGuiController adminGuiController concode_elem_sep IEventFacade eventFacade concode_elem_sep ICampaignFacade campaignFacade concode_elem_sep Mockery context concode_field_sep void testCreateCampaign concode_elem_sep void testAlterDrawProcedure concode_elem_sep void testCreateCategory concode_elem_sep void testAlterCampaign concode_elem_sep void testGetEventsById concode_elem_sep void testAlterFifoProcedure