| Package | Description |
|---|---|
| org.springframework.graphql.test.tester |
GraphQL client testing support.
|
| Modifier and Type | Method and Description |
|---|---|
GraphQlTester.ListEntitySpec<E> |
GraphQlTester.ListEntitySpec.contains(E... elements)
Assert the list contains the given elements.
|
GraphQlTester.ListEntitySpec<E> |
GraphQlTester.ListEntitySpec.containsExactly(E... elements)
Assert the list contains the given elements.
|
GraphQlTester.ListEntitySpec<E> |
GraphQlTester.ListEntitySpec.doesNotContain(E... elements)
Assert the list does not contain the given elements.
|
<D> GraphQlTester.ListEntitySpec<D> |
GraphQlTester.PathSpec.entityList(Class<D> elementType)
Convert the data at the given path to a List of the target type.
|
<D> GraphQlTester.ListEntitySpec<D> |
GraphQlTester.PathSpec.entityList(ParameterizedTypeReference<D> elementType)
Convert the data at the given path to a List of the target type.
|
GraphQlTester.ListEntitySpec<E> |
GraphQlTester.ListEntitySpec.hasSize(int size)
Assert the list contains the specified number of elements.
|
GraphQlTester.ListEntitySpec<E> |
GraphQlTester.ListEntitySpec.hasSizeGreaterThan(int boundary)
Assert the list contains more elements than the specified number.
|
GraphQlTester.ListEntitySpec<E> |
GraphQlTester.ListEntitySpec.hasSizeLessThan(int boundary)
Assert the list contains fewer elements than the specified number.
|