Class WrapperWebTestClientFactory
java.lang.Object
io.restassured.module.webtestclient.internal.WrapperWebTestClientFactory
- All Implemented Interfaces:
WebTestClientFactory
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperWebTestClientFactory(org.springframework.test.web.reactive.server.WebTestClient webTestClient) -
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
-
Constructor Details
-
WrapperWebTestClientFactory
public WrapperWebTestClientFactory(org.springframework.test.web.reactive.server.WebTestClient webTestClient)
-
-
Method Details
-
build
public org.springframework.test.web.reactive.server.WebTestClient build(WebTestClientConfig webTestClientConfig) Description copied from interface:WebTestClientFactoryBuilds and returns aWebTestClientinstance based on provided configuration- Specified by:
buildin interfaceWebTestClientFactory- Parameters:
webTestClientConfig- configuration to be used during WebTestClient instantiation- Returns:
- a WebTestClient instance
-
isAssigned
public boolean isAssigned()Description copied from interface:WebTestClientFactoryChecks if underlyingWebTestClientorWebTestClient.Builderis not null- Specified by:
isAssignedin interfaceWebTestClientFactory- Returns:
- verification result
-