D - the entity typeS - the Entity spec typepublic static interface GraphQlTester.Entity<D,S extends GraphQlTester.Entity<D,S>> extends GraphQlTester.Traversable
| Modifier and Type | Method and Description |
|---|---|
D |
get()
Return the decoded entity value(s).
|
<T extends S> |
isEqualTo(Object expected)
Verify the decoded entity is equal to the given value.
|
<T extends S> |
isNotEqualTo(Object other)
Verify the decoded entity is not equal to the given value.
|
<T extends S> |
isNotSameAs(Object other)
Verify the decoded entity is not the same instance as the given value.
|
<T extends S> |
isSameAs(Object expected)
Verify the decoded entity is the same instance as the given value.
|
<T extends S> |
matches(Predicate<D> predicate)
Verify the decoded entity matches the given predicate.
|
<T extends S> |
satisfies(Consumer<D> consumer)
Verify the entity with the given
Consumer. |
path<T extends S> T isEqualTo(Object expected)
expected - the expected valueEntity spec for further assertions<T extends S> T isNotEqualTo(Object other)
other - the value to check againstEntity spec for further assertions<T extends S> T isSameAs(Object expected)
expected - the expected valueEntity spec for further assertions<T extends S> T isNotSameAs(Object other)
other - the value to check againstEntity spec for further assertions<T extends S> T matches(Predicate<D> predicate)
predicate - the predicate to applyEntity spec for further assertions<T extends S> T satisfies(Consumer<D> consumer)
Consumer.consumer - the consumer to applyEntity spec for further assertionsD get()