Package | Description |
---|---|
org.springframework.graphql.test.tester |
GraphQL client testing support.
|
Modifier and Type | Method and Description |
---|---|
GraphQlTester.PathSpec |
GraphQlTester.TraverseSpec.path(String path)
Switch to a path under the "data" section of the GraphQL response.
|
GraphQlTester.PathSpec |
GraphQlTester.PathSpec.pathDoesNotExist()
Assert the given path does not
exist . |
GraphQlTester.PathSpec |
GraphQlTester.PathSpec.pathExists()
Assert the given path exists, even if the value is
null . |
GraphQlTester.PathSpec |
GraphQlTester.PathSpec.valueDoesNotExist()
Assert a value does not
exist at the given path. |
GraphQlTester.PathSpec |
GraphQlTester.PathSpec.valueExists()
Assert a value exists at the given path where the value is any
non-null
value, possibly an empty array or map. |
GraphQlTester.PathSpec |
GraphQlTester.PathSpec.valueIsEmpty()
Assert the value at the given path does not exist or is empty as defined in
ObjectUtils.isEmpty(Object) . |
GraphQlTester.PathSpec |
GraphQlTester.PathSpec.valueIsNotEmpty()
Assert the value at the given path is not
valueIsEmpty() . |