T - the type of values that the subscriber containspublic static interface StepVerifier.FirstStep<T> extends StepVerifier.Step<T>
Subscription as
first signal.
If StepVerifier.FirstStep expectations are not used, the produced
StepVerifier keeps a first expectation that will be checking if
the first signal is a
Subscription.
| Modifier and Type | Method and Description |
|---|---|
StepVerifier.Step<T> |
expectFusion()
Expect the source
Publisher to run with Reactor Fusion flow
optimization. |
StepVerifier.Step<T> |
expectFusion(int requested)
Expect the source
Publisher to run the requested Reactor Fusion mode
from any of these modes :
Fuseable.NONE, Fuseable.SYNC, Fuseable.ASYNC,
Fuseable.ANY, Fuseable.THREAD_BARRIER. |
StepVerifier.Step<T> |
expectFusion(int requested,
int expected)
Expect the source
Publisher to run with Reactor Fusion flow
optimization. |
StepVerifier.Step<T> |
expectNoFusionSupport()
Expect the source
Publisher to NOT run with Reactor Fusion flow
optimization. |
StepVerifier.Step<T> |
expectSubscription()
Expect a
Subscription. |
StepVerifier.Step<T> |
expectSubscriptionMatches(Predicate<? super Subscription> predicate)
Expect a
Subscription and evaluate with the given predicate. |
as, assertNext, consumeNextWith, consumeRecordedWith, consumeSubscriptionWith, expectAccessibleContext, expectNext, expectNext, expectNext, expectNext, expectNext, expectNext, expectNext, expectNextCount, expectNextMatches, expectNextSequence, expectNoAccessibleContext, expectNoEvent, expectRecordedMatches, recordWith, then, thenAwait, thenAwait, thenConsumeWhile, thenConsumeWhile, thenRequestconsumeErrorWith, expectComplete, expectError, expectError, expectErrorMatches, expectErrorMessage, expectErrorSatisfies, expectTimeout, thenCancel, verifyComplete, verifyError, verifyError, verifyErrorMatches, verifyErrorMessage, verifyErrorSatisfies, verifyTimeoutStepVerifier.Step<T> expectFusion()
Publisher to run with Reactor Fusion flow
optimization. It will be requesting Fuseable.ANY fusion mode.FuseableStepVerifier.Step<T> expectFusion(int requested)
Publisher to run the requested Reactor Fusion mode
from any of these modes :
Fuseable.NONE, Fuseable.SYNC, Fuseable.ASYNC,
Fuseable.ANY, Fuseable.THREAD_BARRIER.requested - the requested and expected fusion modeFuseableStepVerifier.Step<T> expectFusion(int requested, int expected)
Publisher to run with Reactor Fusion flow
optimization.
Expect the source Publisher to run the requested Reactor Fusion mode
from any of these modes :
Fuseable.NONE, Fuseable.SYNC, Fuseable.ASYNC,
Fuseable.ANY, Fuseable.THREAD_BARRIER.requested - the requested fusion modeexpected - the expected fusion modeFuseableStepVerifier.Step<T> expectNoFusionSupport()
Publisher to NOT run with Reactor Fusion flow
optimization. It will check if publisher is Fuseable or
subscription is a Fuseable.QueueSubscription.FuseableStepVerifier.Step<T> expectSubscription()
Subscription.
Effectively behave as the default implicit Subscription expectation.Subscriber.onSubscribe(Subscription)StepVerifier.Step<T> expectSubscriptionMatches(Predicate<? super Subscription> predicate)
Subscription and evaluate with the given predicate.predicate - the predicate to test on the received SubscriptionSubscriber.onSubscribe(Subscription)