DefaultStatelessSagaDsl
class DefaultStatelessSagaDsl<T : Any>(processorType: Class<T>) : AbstractDynamicTestBuilder, StatelessSagaDsl<T>
Default implementation of StatelessSagaDsl for creating dynamic saga tests.
This class provides the entry point for configuring and executing stateless saga tests with customizable service providers, command gateways, and message factories. It creates dynamic test nodes that can be executed by JUnit 5.
Parameters
T
The type of the saga being tested.
Properties
Functions
Link copied to clipboard
Injects services into the public service provider.
Link copied to clipboard
open override fun on(serviceProvider: ServiceProvider, commandGateway: CommandGateway, commandMessageFactory: CommandMessageFactory, block: WhenDsl<T>.() -> Unit)
Configures and executes a test scenario with the provided components.