Interface ExecutionGraphQlServiceTester
- All Superinterfaces:
GraphQlTester
GraphQlTester
that executes requests through an
ExecutionGraphQlService
on the server side, without a client.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
DefaultExecutionGraphQlServiceTester.Builder
implementation.Nested classes/interfaces inherited from interface org.springframework.graphql.test.tester.GraphQlTester
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionGraphQlServiceTester.Builder<?>
builder
(ExecutionGraphQlService service) Return a builder forExecutionGraphQlServiceTester
.create
(ExecutionGraphQlService service) Create aExecutionGraphQlServiceTester
instance.mutate()
Create a builder initialized from the configuration of "this" tester.Methods inherited from interface org.springframework.graphql.test.tester.GraphQlTester
document, documentName
-
Method Details
-
mutate
ExecutionGraphQlServiceTester.Builder<?> mutate()Description copied from interface:GraphQlTester
Create a builder initialized from the configuration of "this" tester. Use it to build a new, independently configured instance.- Specified by:
mutate
in interfaceGraphQlTester
-
create
Create aExecutionGraphQlServiceTester
instance.- Parameters:
service
- the GraphQL service to use
-
builder
Return a builder forExecutionGraphQlServiceTester
.- Parameters:
service
- the GraphQL service to use
-