choi92
@choi92
Reviews Written
-
Average Rating
-
The introduction is empty
Posts
Q&A
get() static ๋ฉ์๋ importํ ๋
์ ๋ MockHttpServletRequestBuilder builder = MockMvcRequestBuilders.get("/hello"); mockMvc.perform(builder) .andExpect(status().isOk()) .andExpect(content().string("hello spring")) .andDo(print()); ์ด๋ฐ ์์ผ๋ก ํด๊ฒฐ์ ํ์ต๋๋ค. ํน์ ์ ๋ ๊ฐ์ ํ์์ ๊ฒช์ผ์๋ ๋ถ๋ค์ ์ํด ์ฌ๋ฆฝ๋๋ค.
- 0
- 8
- 2.7K
Q&A
get() static ๋ฉ์๋ importํ ๋
์ ๋ ๋๊ฐ์ ํ์์ธ๋ฐ MockMvcRequestBuilders.get์ด ๋ชฉ๋ก์ ๋์ค์ง ์์ต๋๋ค. ์ง์ ์จ๋ import๊ฐ ๋์ง ์๋๋ฐ ์๊ทธ๋ด๊น์?ใ
- 0
- 8
- 2.7K




