E - the type of elements in the listpublic static interface GraphQlTester.EntityList<E> extends GraphQlTester.Entity<List<E>,GraphQlTester.EntityList<E>>
| Modifier and Type | Method and Description |
|---|---|
GraphQlTester.EntityList<E> |
contains(E... values)
Verify the list contains the given values, in any order.
|
GraphQlTester.EntityList<E> |
containsExactly(E... values)
Verify that the list contains exactly the given values and nothing
else, in the same order.
|
GraphQlTester.EntityList<E> |
doesNotContain(E... values)
Verify the list does not contain the given values.
|
GraphQlTester.EntityList<E> |
hasSize(int size)
Verify the number of values in the list.
|
GraphQlTester.EntityList<E> |
hasSizeGreaterThan(int size)
Verify the list has more than the specified number of values.
|
GraphQlTester.EntityList<E> |
hasSizeLessThan(int size)
Verify the list has fewer than the number of values.
|
get, isEqualTo, isNotEqualTo, isNotSameAs, isSameAs, matches, satisfiespathGraphQlTester.EntityList<E> contains(E... values)
values - values that are expectedEntityList spec for further assertionsGraphQlTester.EntityList<E> doesNotContain(E... values)
values - the values that are not expectedEntityList spec for further assertionsGraphQlTester.EntityList<E> containsExactly(E... values)
values - the expected valuesEntityList spec for further assertionsGraphQlTester.EntityList<E> hasSize(int size)
size - the expected sizeEntityList spec for further assertionsGraphQlTester.EntityList<E> hasSizeLessThan(int size)
size - the number to compare the actual size toEntityList spec for further assertionsGraphQlTester.EntityList<E> hasSizeGreaterThan(int size)
size - the number to compare the actual size toEntityList spec for further assertions