Interface WebTestClientFactory
- All Known Implementing Classes:
BuilderBasedWebTestClientFactory,WrapperWebTestClientFactory
public interface WebTestClientFactory
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.test.web.reactive.server.WebTestClientbuild(WebTestClientConfig webTestClientConfig) Builds and returns aWebTestClientinstance based on provided configurationbooleanChecks if underlyingWebTestClientorWebTestClient.Builderis not null
-
Method Details
-
build
org.springframework.test.web.reactive.server.WebTestClient build(WebTestClientConfig webTestClientConfig) Builds and returns aWebTestClientinstance based on provided configuration- Parameters:
webTestClientConfig- configuration to be used during WebTestClient instantiation- Returns:
- a WebTestClient instance
-
isAssigned
boolean isAssigned()Checks if underlyingWebTestClientorWebTestClient.Builderis not null- Returns:
- verification result
-