接口的使用
org.springframework.test.web.reactive.server.WebTestClient
使用WebTestClient的程序包 程序包 说明 org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.org.springframework.test.web.reactive.server中WebTestClient的使用
返回WebTestClient的org.springframework.test.web.reactive.server中的方法 修饰符和类型 方法 说明 WebTestClientWebTestClient.Builder. build()Build theWebTestClientinstance.WebTestClientWebTestClient.MockServerSpec. build()Shortcut to build the test client.WebTestClientWebTestClient. mutateWith(WebTestClientConfigurer configurer)Mutate theWebTestClient, apply the given configurer, and build a new instance.