Exemple #1
0
 public UC1AccountTestCases(EventStoreFixture fixture)
 {
     _accountId = Guid.NewGuid();
     _runner    = new EventStoreScenarioRunner <Account>(
         _accountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher));
 }
Exemple #2
0
 public US8WithdrawalBlockAccount(EventStoreFixture fixture)
 {
     _accountId = Guid.NewGuid();
     _runner    = new EventStoreScenarioRunner <Account>(
         _accountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher));
 }
Exemple #3
0
 public SetDailyWireTransferLimitTests(EventStoreFixture fixture)
 {
     _accountId = Guid.NewGuid();
     _runner    = new EventStoreScenarioRunner <Account>(
         _accountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher));
 }
Exemple #4
0
 public WireTransferTests(EventStoreFixture fixture)
 {
     _accountId = Guid.NewGuid();
     _clock     = SystemClock.Instance;
     _runner    = new EventStoreScenarioRunner <Account>(
         _accountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher, _clock));
 }
Exemple #5
0
 protected TestsBase(EventStoreFixture fixture)
 {
     AccountId = Guid.NewGuid();
     Clock     = new MockClock("Europe/London");
     Runner    = new EventStoreScenarioRunner <Account>(
         AccountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher, Clock));
 }
 public CashDepositTests(EventStoreFixture fixture) : base(fixture)
 {
 }
Exemple #7
0
 public DailyWireTransfertLimitTests(EventStoreFixture fixture) : base(fixture)
 {
 }
 public WithdrawCashTests(EventStoreFixture fixture) : base(fixture)
 {
 }
 public OverdraftLimitTests(EventStoreFixture fixture) : base(fixture)
 {
 }
 public WireTransferCashTests(EventStoreFixture fixture) : base(fixture)
 {
 }
 public PersistSubsGrpcTests(EventStoreFixture fixture)
 {
     _client  = fixture.Client;
     _persist = fixture.PersistentSubscription;
 }
Exemple #12
0
 public AccountTests(EventStoreFixture fixture) : base(fixture)
 {
 }
 public DepositChequeTests(EventStoreFixture fixture) : base(fixture)
 {
 }
 public EventStoreGrpcTests(EventStoreFixture fixture)
 {
     _client = fixture.Client;
 }