질문&답변
2020.03.29
get() static 메서드 import할때
저는 아래와 같이 해결 하였습니다. mockMvc .perform(MockMvcRequestBuilders. get ( "/hello" )) .andExpect( status ().isOk()) .andExpect( content ().string( "hello sejong" )) .andDo(MockMvcResultHandlers. print ()) ;