질문&답변
get() static 메서드 import할때
저는 아래와 같이 해결 하였습니다. mockMvc .perform(MockMvcRequestBuilders. get ( "/hello" )) .andExpect( status ().isOk()) .andExpect( content ().string( "hello sejong" )) .andDo(MockMvcResultHandlers. print ()) ;
- 좋아요수
- 0
- 댓글수
- 8
- 조회수
- 2728





