Package | Description |
---|---|
reactor.test |
Main test components supporting the testing and assertion of publishers.
|
Class and Description |
---|
StepVerifier
A
StepVerifier provides a declarative way of creating a verifiable script for
an async Publisher sequence, by expressing expectations about the events that
will happen upon subscription. |
StepVerifier.Assertions
Exposes post-verification state assertions.
|
StepVerifier.ContextExpectations
Allow to set expectations about the
Context propagated during the Subscription
phase. |
StepVerifier.FirstStep
Define a builder for explicitly expecting an initializing
Subscription as
first signal. |
StepVerifier.LastStep
Define a builder for terminal states.
|
StepVerifier.Step
Define a builder for expecting main sequence individual signals.
|
StepVerifierOptions
Options for a
StepVerifier , including the initial request amount,
VirtualTimeScheduler supplier and toggles for some checks. |
ValueFormatters.Extractor
An extractor of data wrapped in a
BiFunction aiming at producing a customized String
representation of a container type and its contained elements, each element being
potentially itself converted to String using a ValueFormatters.ToStringConverter :
it only considers specific container types, see ValueFormatters.Extractor.getTargetClass()
it can further filter these container instances using ValueFormatters.Extractor.matches(Object)
it can be applied to arbitrary objects, as it will default to String.valueOf(Object)
on non-matching containers
it can apply a ValueFormatters.ToStringConverter to the content, passed as the second
parameter of the BiFunction
it reconstructs the String representation of the container by
exploding it and then joining
it with {#code ", "} delimiter, as well as custom ValueFormatters.Extractor.prefix(Object) and ValueFormatters.Extractor.suffix(Object)
|
ValueFormatters.ToStringConverter |