GraphQlTester that mainly assist with
building the underlying transport, but otherwise delegate to the default
GraphQlTester implementation for actual request execution.GraphQlTester.Builder
implementations.GraphQlTransport, we can't use
transports directly since they are package private, but we can adapt the corresponding
GraphQlClient and adapt it to GraphQlTransport.ExecutionGraphQlServiceTester instance.GraphQlTester.HttpGraphQlTester instance.RSocketGraphQlTester instance.WebGraphQlTester instance.WebSocketGraphQlTester.ExecutionGraphQlServiceTester.GraphQlTransport.HttpGraphQlTester by creating
the underlying WebTestClient through the given builder.RSocketRequester.Builder customized for GraphQL,
setting the dataMimeType to "application/graphql+json"
and adding JSON codecs.RSocketGraphQlTester.builder().WebGraphQlTester.WebSocketGraphQlClient.WebSocketGraphQlClient.AbstractDelegatingGraphQlTester.ClientTransport to communicate with the remote server.CodecConfigurer to use for all JSON
encoding and decoding needs.MappingProvider that matches the JSON encoding/decoding they use.ExecutionGraphQlServiceTester instance.HttpGraphQlTester that uses the given WebTestClient.WebGraphQlTester instance.WebSocketGraphQlTester.RSocketGraphQlTester.Builder that wraps
an RSocketGraphQlClient.Builder.GraphQlTester.document(String) that uses the given key to resolve
the GraphQL document from a file with the help of the configured
DocumentSource.DocumentSource for use with
GraphQlTester.documentName(String) for resolving a document by name.filter that
applies to all requests.GraphQlTester that executes requests through an
ExecutionGraphQlService on the server side, without a client.ExecutionGraphQlServiceTester.Builder implementation.GraphQlTester.Builder.build() to obtain a Consumer to
initialize new builder instances with, based on "this" builder.GraphQlTester instance.non-null value or a non-empty list at the current path.WebGraphQlTester.Builder.header(String, String...) that provides access
to the underlying headers to inspect or modify directly.WebTestClient and supports tests
with or without a running server, depending on how WebTestClient is
configured.RSocketRequester.RSocketRequester to use.Consumer.start() method of the underlying
WebSocketGraphQlClient.stop() method of the underlying
WebSocketGraphQlClient.Flux of entities converted from some part of the data in each
subscription event.Flux of GraphQlTester.Response instances, each representing an
individual subscription event.null value at the current path.filtered out.WebGraphQlHandler.GraphQlTester extensions.WebSocketClient.WebTestClient to use.