Class HttpGraphQlTesterAutoConfiguration
java.lang.Object
org.springframework.boot.test.autoconfigure.graphql.tester.HttpGraphQlTesterAutoConfiguration
@AutoConfiguration(after={WebTestClientAutoConfiguration.class,MockMvcAutoConfiguration.class})
@ConditionalOnClass({org.springframework.web.reactive.function.client.WebClient.class,org.springframework.test.web.reactive.server.WebTestClient.class,org.springframework.graphql.test.tester.WebGraphQlTester.class})
public class HttpGraphQlTesterAutoConfiguration
extends Object
Auto-configuration for
HttpGraphQlTester
.- Since:
- 2.7.0
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.test.tester.HttpGraphQlTester
webTestClientGraphQlTester
(WebTestClient webTestClient, GraphQlProperties properties)
-
Constructor Details
-
HttpGraphQlTesterAutoConfiguration
public HttpGraphQlTesterAutoConfiguration()
-
-
Method Details
-
webTestClientGraphQlTester
@Bean @ConditionalOnBean(org.springframework.test.web.reactive.server.WebTestClient.class) @ConditionalOnMissingBean public org.springframework.graphql.test.tester.HttpGraphQlTester webTestClientGraphQlTester(WebTestClient webTestClient, GraphQlProperties properties)
-