| Package | Description |
|---|---|
| org.springframework.graphql.test.tester |
GraphQL client testing support.
|
| Modifier and Type | Method and Description |
|---|---|
GraphQlTester.EntityList<E> |
GraphQlTester.EntityList.contains(E... values)
Verify the list contains the given values, in any order.
|
GraphQlTester.EntityList<E> |
GraphQlTester.EntityList.containsExactly(E... values)
Verify that the list contains exactly the given values and nothing
else, in the same order.
|
GraphQlTester.EntityList<E> |
GraphQlTester.EntityList.doesNotContain(E... values)
Verify the list does not contain the given values.
|
<D> GraphQlTester.EntityList<D> |
GraphQlTester.Path.entityList(Class<D> elementType)
Convert the data at the given path to a List of the target type.
|
<D> GraphQlTester.EntityList<D> |
GraphQlTester.Path.entityList(ParameterizedTypeReference<D> elementType)
Convert the data at the given path to a List of the target type.
|
GraphQlTester.EntityList<E> |
GraphQlTester.EntityList.hasSize(int size)
Verify the number of values in the list.
|
GraphQlTester.EntityList<E> |
GraphQlTester.EntityList.hasSizeGreaterThan(int size)
Verify the list has more than the specified number of values.
|
GraphQlTester.EntityList<E> |
GraphQlTester.EntityList.hasSizeLessThan(int size)
Verify the list has fewer than the number of values.
|