Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.MockServerSpec
-
Uses of WebTestClient.MockServerSpec in org.springframework.test.web.reactive.server
Modifier and TypeInterfaceDescriptionstatic interface
WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>
Base specification for setting up tests without a server.Modifier and TypeInterfaceDescriptionstatic interface
Specification for customizing controller configuration equivalent to, and internally delegating to, aWebFluxConfigurer
.static interface
Specification for customizing router function configuration.Modifier and TypeMethodDescriptionstatic WebTestClient.MockServerSpec<?>
WebTestClient.bindToApplicationContext
(ApplicationContext applicationContext) Use this option to set up a server from the Spring configuration of your application, or some subset of it.static WebTestClient.MockServerSpec<?>
WebTestClient.bindToWebHandler
(WebHandler webHandler) Integration testing with a "mock" server targeting the given WebHandler.Modifier and TypeMethodDescriptiondefault void
MockServerConfigurer.afterConfigureAdded
(WebTestClient.MockServerSpec<?> serverSpec) Invoked immediately, i.e.