Class WrapperWebTestClientFactory

java.lang.Object
io.restassured.module.webtestclient.internal.WrapperWebTestClientFactory
All Implemented Interfaces:
WebTestClientFactory

public class WrapperWebTestClientFactory extends Object implements WebTestClientFactory
  • 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: WebTestClientFactory
      Builds and returns a WebTestClient instance based on provided configuration
      Specified by:
      build in interface WebTestClientFactory
      Parameters:
      webTestClientConfig - configuration to be used during WebTestClient instantiation
      Returns:
      a WebTestClient instance
    • isAssigned

      public boolean isAssigned()
      Description copied from interface: WebTestClientFactory
      Checks if underlying WebTestClient or WebTestClient.Builder is not null
      Specified by:
      isAssigned in interface WebTestClientFactory
      Returns:
      verification result