类的使用
org.springframework.test.web.reactive.server.JsonPathAssertions
使用JsonPathAssertions的程序包 程序包 说明 org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.org.springframework.test.web.reactive.server中JsonPathAssertions的使用
返回JsonPathAssertions的org.springframework.test.web.reactive.server中的方法 修饰符和类型 方法 说明 JsonPathAssertions
WebTestClient.BodyContentSpec. jsonPath(String expression, Object... args)
Access to response body assertions using a JsonPath expression to inspect a specific subset of the body.