AggregateVerifier
Functions
Link copied to clipboard
fun <C : Any, S : Any> Class<C>.aggregateVerifier(aggregateId: String = GlobalIdGenerator.generateAsString(), tenantId: String = TenantId.DEFAULT_TENANT_ID, stateAggregateFactory: StateAggregateFactory = ConstructorStateAggregateFactory, eventStore: EventStore = InMemoryEventStore(), serviceProvider: ServiceProvider = SimpleServiceProvider()): GivenStage<S>
fun <C : Any, S : Any> aggregateVerifier(commandAggregateType: Class<C>, stateAggregateType: Class<S>, aggregateId: String = GlobalIdGenerator.generateAsString(), tenantId: String = TenantId.DEFAULT_TENANT_ID, stateAggregateFactory: StateAggregateFactory = ConstructorStateAggregateFactory, eventStore: EventStore = InMemoryEventStore(), serviceProvider: ServiceProvider = SimpleServiceProvider()): GivenStage<S>