Testing Aggregates and Sagas with Message Flows
Testing Aggregate, Saga in PHP
Setting up Flow Test
// Set up flow testing for the User aggregate
// This tells Ecotone to load the User class and any handlers it contains
$testSupport = EcotoneLite::bootstrapFlowTesting([User::class]);Testing Aggregate or Sagas
Verifying Aggregate's State
Testing Communication between Aggregates and Sagas.
Testing Output Channels
Testing with Real State-Stored Repository
Last updated
Was this helpful?