public RegistrationSagaTestHarness(SagaTestHarnessRegistration <TSaga> registration, ISagaRepository <TSaga> repository)
     : base(repository, registration.TestTimeout)
 {
     Consumed = registration.Consumed;
     Created  = registration.Created;
     Sagas    = registration.Sagas;
 }
Exemple #2
0
 public RegistrationStateMachineSagaTestHarness(SagaTestHarnessRegistration <TInstance> registration, ISagaRepository <TInstance> repository,
                                                TStateMachine stateMachine)
     : base(repository, registration.TestTimeout)
 {
     _stateMachine = stateMachine;
     Consumed      = registration.Consumed;
     Created       = registration.Created;
     Sagas         = registration.Sagas;
 }