Interface WebTestClientFactory

All Known Implementing Classes:
BuilderBasedWebTestClientFactory, WrapperWebTestClientFactory

public interface WebTestClientFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.test.web.reactive.server.WebTestClient
    build(WebTestClientConfig webTestClientConfig)
    Builds and returns a WebTestClient instance based on provided configuration
    boolean
    Checks if underlying WebTestClient or WebTestClient.Builder is not null
  • Method Details

    • build

      org.springframework.test.web.reactive.server.WebTestClient build(WebTestClientConfig webTestClientConfig)
      Builds and returns a WebTestClient instance based on provided configuration
      Parameters:
      webTestClientConfig - configuration to be used during WebTestClient instantiation
      Returns:
      a WebTestClient instance
    • isAssigned

      boolean isAssigned()
      Checks if underlying WebTestClient or WebTestClient.Builder is not null
      Returns:
      verification result