Interface GraphQlTester.Subscription
- Enclosing interface:
- GraphQlTester
public static interface GraphQlTester.Subscription
Declare options available to assert a GraphQL Subscription response.
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<GraphQlTester.Response>toFlux()Return aFluxofGraphQlTester.Responseinstances, each representing an individual subscription event.default <T> reactor.core.publisher.Flux<T>Return aFluxof entities converted from some part of the data in each subscription event.
-
Method Details
-
toFlux
Return aFluxof entities converted from some part of the data in each subscription event.- Type Parameters:
T- the entity type- Parameters:
path- a path into the data of each subscription evententityType- the type to convert data to- Returns:
- a
Fluxof entities that can be further inspected, e.g. withreactor.test.StepVerifier
-
toFlux
reactor.core.publisher.Flux<GraphQlTester.Response> toFlux()Return aFluxofGraphQlTester.Responseinstances, each representing an individual subscription event.- Returns:
- a
FluxofResponseSpecinstances that can be further inspected, e.g. withreactor.test.StepVerifier
-