this method is called after every junit test case to release memory concode_field_sep HeroController heroController concode_elem_sep MockMvc mockMvc concode_elem_sep HeroService heroServiceMock concode_field_sep void setup concode_elem_sep void testListHeroesWhenDataIsAvailable concode_elem_sep void testListHeroesWhenDataIsNotAvailable
void function ( ) { mockMvc = null ; heroController = null ; }