GivenReadOnlyStateAggregate
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.
This class provides a concrete implementation of read-only state aggregate that can be used in test scenarios where state needs to be provided to saga functions.
Parameters
S
The type of the aggregate state.