Uses of Interface
org.springframework.graphql.test.tester.GraphQlTester.Traversable
Packages that use GraphQlTester.Traversable
-
Uses of GraphQlTester.Traversable in org.springframework.graphql.test.tester
Subinterfaces of GraphQlTester.Traversable in org.springframework.graphql.test.testerModifier and TypeInterfaceDescriptionstatic interfaceGraphQlTester.Entity<D, S extends GraphQlTester.Entity<D,S>> Contains a decoded entity and provides options to assert it.static interfaceContains a List of decoded entities and provides options to assert them.static interfaceOptions available to assert the response values at the current path.static interfaceDeclare options to check the data and errors of a GraphQL response.Methods in org.springframework.graphql.test.tester that return GraphQlTester.TraversableModifier and TypeMethodDescriptionGraphQlTester.Path.matchesJson(String expectedJson) Parse the JSON at the given path and the given expected JSON and assert that the two are "similar".GraphQlTester.Path.matchesJsonStrictly(String expectedJson) Parse the JSON at the given path and the given expected JSON and assert that the two are "similar" so they contain the same attribute-value pairs regardless of formatting, along with lenient checking, e.g.GraphQlTester.Errors.satisfy(Consumer<List<ResponseError>> errorsConsumer) Inspect errors in the response, if any.GraphQlTester.Errors.verify()Verify there are either no errors or that there are no unexpected errors that have not beenfiltered out.