public abstract class AbstractDelegatingGraphQlTester extends Object implements GraphQlTester
GraphQlTester
that mainly assist with
building the underlying transport, but otherwise delegate to the default
GraphQlTester
implementation for actual request execution.
Subclasses must implement GraphQlTester.mutate()
to allow mutation
of both GraphQlTester
and GraphQlTransport
configuration.
AbstractGraphQlTesterBuilder
GraphQlTester.Builder<B extends GraphQlTester.Builder<B>>, GraphQlTester.Entity<D,S extends GraphQlTester.Entity<D,S>>, GraphQlTester.EntityList<E>, GraphQlTester.Errors, GraphQlTester.Path, GraphQlTester.Request<T extends GraphQlTester.Request<T>>, GraphQlTester.Response, GraphQlTester.Subscription, GraphQlTester.Traversable
Modifier | Constructor and Description |
---|---|
protected |
AbstractDelegatingGraphQlTester(GraphQlTester delegate) |
Modifier and Type | Method and Description |
---|---|
GraphQlTester.Request<?> |
document(String document)
Start defining a GraphQL request with the given document, which is the
textual representation of an operation (or operations) to perform,
including selection sets and fragments.
|
GraphQlTester.Request<?> |
documentName(String documentName)
Variant of
GraphQlTester.document(String) that uses the given key to resolve
the GraphQL document from a file with the help of the configured
DocumentSource . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, mutate
protected AbstractDelegatingGraphQlTester(GraphQlTester delegate)
public GraphQlTester.Request<?> document(String document)
GraphQlTester
document
in interface GraphQlTester
document
- the document for the requestpublic GraphQlTester.Request<?> documentName(String documentName)
GraphQlTester
GraphQlTester.document(String)
that uses the given key to resolve
the GraphQL document from a file with the help of the configured
DocumentSource
.documentName
in interface GraphQlTester