Package | Description |
---|---|
reactor.test |
Main test components supporting the testing and assertion of publishers.
|
Modifier and Type | Method and Description |
---|---|
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.assertThat(Consumer<Context> assertingConsumer)
Apply custom assertions to the propagated
Context . |
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.contains(Object key,
Object value)
Check that the propagated
Context contains the given value associated
to the given key. |
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.containsAllOf(Context other)
|
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.containsAllOf(Map<?,?> other)
|
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.containsOnly(Context other)
|
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.containsOnly(Map<?,?> other)
|
StepVerifier.ContextExpectations<T> |
StepVerifier.Step.expectAccessibleContext()
Expect that after the
Subscription step, a Context has been
propagated. |
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.hasKey(Object key)
Check that the propagated
Context contains a value for the given key. |
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.hasSize(int size)
Check that the propagated
Context is of the given size. |
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.matches(Predicate<Context> predicate)
|
StepVerifier.ContextExpectations<T> |
StepVerifier.ContextExpectations.matches(Predicate<Context> predicate,
String description)
|