Hỏi & Đáp
get() static 메서드 import할때
저는 MockHttpServletRequestBuilder builder = MockMvcRequestBuilders . get ( "/hello" ); mockMvc . perform ( builder ) . andExpect ( status (). isOk ()) . andExpect ( content (). string ( "hello spring" )) . andDo ( print ()); 이런 식으로 해결을 했습니다. 혹시 저랑 같은 현상을 겪으시는 분들을 위해 올립니다.
- Lượt thích
- 0
- Số bình luận
- 8
- Lượt xem
- 2732

