소개
소개글이 비어있어요
게시글
질문&답변
2020.02.10
get() static 메서드 import할때
저는 MockHttpServletRequestBuilder builder = MockMvcRequestBuilders . get ( "/hello" ); mockMvc . perform ( builder ) . andExpect ( status (). isOk ()) . andExpect ( content (). string ( "hello spring" )) . andDo ( print ()); 이런 식으로 해결을 했습니다. 혹시 저랑 같은 현상을 겪으시는 분들을 위해 올립니다.
- 0
- 8
- 1.8K
질문&답변
2020.02.10
get() static 메서드 import할때
저도 똑같은 현상인데 MockMvcRequestBuilders.get이 목록에 나오지 않습니다. 직접 써도 import가 되지 않는데 왜그럴까요?ㅠ
- 0
- 8
- 1.8K