mockmvc  静态引入-LMLPHP

perform方法编译报错时,在头部静态引入即可

import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
04-18 19:20