Interface GraphQlTester.Entity<D, S extends GraphQlTester.Entity<D,S>>
- Type Parameters:
D
- the entity typeS
- theEntity
spec type
- All Superinterfaces:
GraphQlTester.Traversable
- All Known Subinterfaces:
GraphQlTester.EntityList<E>
- Enclosing interface:
GraphQlTester
public static interface GraphQlTester.Entity<D, S extends GraphQlTester.Entity<D,S>>
extends GraphQlTester.Traversable
Contains a decoded entity and provides options to assert it.
- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev, Brian Clozel
-
Method Summary
Modifier and TypeMethodDescriptionget()
Return the decoded entity value(s).<T extends S>
TVerify the decoded entity is equal to the given value.<T extends S>
TisNotEqualTo
(Object other) Verify the decoded entity is not equal to the given value.<T extends S>
TisNotSameAs
(Object other) Verify the decoded entity is not the same instance as the given value.<T extends S>
TVerify the decoded entity is the same instance as the given value.<T extends S>
TVerify the decoded entity matches the given predicate.<T extends S>
TVerify the entity with the givenConsumer
.Methods inherited from interface org.springframework.graphql.test.tester.GraphQlTester.Traversable
path, path
-
Method Details
-
isEqualTo
-
isNotEqualTo
-
isSameAs
-
isNotSameAs
-
matches
-
satisfies
-
get
D get()Return the decoded entity value(s).
-