SequentialIds

The ids the test DSL gives domain code, the same on every run: the n-th global id is id-n, the n-th id of an aggregate type is <aggregate>-n (order-1, order-2), each counted from 1.

A specification counts across all of it (a fork copies the counts, so it goes on from where the specification was): an aggregateSpec for its decisions, a sagaSpec for every handling, which draws on from the last as a node's generators draw new ids for each handling of a commit. So handling a commit again draws other ids.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun next(): String
open override fun next(type: AggregateType): String