public class WrapperWebTestClientFactory extends Object implements WebTestClientFactory
Constructor and Description |
---|
WrapperWebTestClientFactory(org.springframework.test.web.reactive.server.WebTestClient webTestClient) |
Modifier and Type | Method and Description |
---|---|
org.springframework.test.web.reactive.server.WebTestClient |
build(WebTestClientConfig webTestClientConfig)
Builds and returns a
WebTestClient instance based on provided configuration |
boolean |
isAssigned()
Checks if underlying
WebTestClient or WebTestClient.Builder
is not null |
public WrapperWebTestClientFactory(org.springframework.test.web.reactive.server.WebTestClient webTestClient)
public org.springframework.test.web.reactive.server.WebTestClient build(WebTestClientConfig webTestClientConfig)
WebTestClientFactory
WebTestClient
instance based on provided configurationbuild
in interface WebTestClientFactory
webTestClientConfig
- configuration to be used during WebTestClient instantiationpublic boolean isAssigned()
WebTestClientFactory
WebTestClient
or WebTestClient.Builder
is not nullisAssigned
in interface WebTestClientFactory
Copyright © 2010–2022. All rights reserved.