public static interface GraphQlTester.Subscription
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<GraphQlTester.Response> |
toFlux()
Return a
Flux of GraphQlTester.Response instances, each representing an
individual subscription event. |
default <T> reactor.core.publisher.Flux<T> |
toFlux(String path,
Class<T> entityType)
Return a
Flux of entities converted from some part of the data in each
subscription event. |
default <T> reactor.core.publisher.Flux<T> toFlux(String path, Class<T> entityType)
Flux of entities converted from some part of the data in each
subscription event.T - the entity typepath - a path into the data of each subscription evententityType - the type to convert data toFlux of entities that can be further inspected, e.g. with
reactor.test.StepVerifierreactor.core.publisher.Flux<GraphQlTester.Response> toFlux()
Flux of GraphQlTester.Response instances, each representing an
individual subscription event.Flux of ResponseSpec instances that can be further
inspected, e.g. with reactor.test.StepVerifier