接口的使用
org.springframework.test.web.reactive.server.WebTestClientConfigurer
使用WebTestClientConfigurer的程序包 程序包 说明 org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.org.springframework.test.web.reactive.server中WebTestClientConfigurer的使用
参数类型为WebTestClientConfigurer的org.springframework.test.web.reactive.server中的方法 修饰符和类型 方法 说明 WebTestClient.BuilderWebTestClient.Builder. apply(WebTestClientConfigurer configurer)Apply the given configurer to this builder instance.WebTestClientWebTestClient. mutateWith(WebTestClientConfigurer configurer)Mutate theWebTestClient, apply the given configurer, and build a new instance.