类的使用
org.springframework.test.web.servlet.result.ContentResultMatchers
使用ContentResultMatchers的程序包 程序包 说明 org.springframework.test.web.servlet.result Contains built-inResultMatcher
andResultHandler
implementations.org.springframework.test.web.servlet.result中ContentResultMatchers的使用
返回ContentResultMatchers的org.springframework.test.web.servlet.result中的方法 修饰符和类型 方法 说明 static ContentResultMatchers
MockMvcResultMatchers. content()
Access to response body assertions.