Package-level declarations
Types
Link copied to clipboard
class CommandIterator(val delegate: Iterator<CommandMessage<*>>) : Iterator<CommandMessage<*>> , Decorator<Iterator<CommandMessage<*>>>
A decorator iterator for command messages that provides testing utilities.
Link copied to clipboard
data class ExpectedResult<T : Any>(val exchange: DomainEventExchange<*>, val processor: T, val commandStream: CommandStream?, val error: Throwable? = null) : StatelessSagaExpecter<T, ExpectedResult<T>>
Represents the expected result of a stateless saga processing operation.
Link copied to clipboard
Interface for defining and executing expectations on saga test results.
Link copied to clipboard
class GivenReadOnlyStateAggregate<S : Any>(val aggregateId: AggregateId, val state: S, val version: Int, val ownerId: String, val deleted: Boolean, val eventId: String, val firstOperator: String, val operator: String, val firstEventTime: Long, val eventTime: Long) : ReadOnlyStateAggregate<S>
A test implementation of ReadOnlyStateAggregate for stateless saga testing.
Link copied to clipboard
Interface for expecting results in stateless saga testing.