コード例 #1
0
 public UC1AccountTestCases(EventStoreFixture fixture)
 {
     _accountId = Guid.NewGuid();
     _runner    = new EventStoreScenarioRunner <Account>(
         _accountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher));
 }
コード例 #2
0
 public US8WithdrawalBlockAccount(EventStoreFixture fixture)
 {
     _accountId = Guid.NewGuid();
     _runner    = new EventStoreScenarioRunner <Account>(
         _accountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher));
 }
コード例 #3
0
 public SetDailyWireTransferLimitTests(EventStoreFixture fixture)
 {
     _accountId = Guid.NewGuid();
     _runner    = new EventStoreScenarioRunner <Account>(
         _accountId,
         fixture,
         (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher));
 }
コード例 #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));
 }
コード例 #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));
 }
コード例 #6
0
 public CashDepositTests(EventStoreFixture fixture) : base(fixture)
 {
 }
コード例 #7
0
 public DailyWireTransfertLimitTests(EventStoreFixture fixture) : base(fixture)
 {
 }
コード例 #8
0
 public WithdrawCashTests(EventStoreFixture fixture) : base(fixture)
 {
 }
コード例 #9
0
 public OverdraftLimitTests(EventStoreFixture fixture) : base(fixture)
 {
 }
コード例 #10
0
 public WireTransferCashTests(EventStoreFixture fixture) : base(fixture)
 {
 }
コード例 #11
0
 public PersistSubsGrpcTests(EventStoreFixture fixture)
 {
     _client  = fixture.Client;
     _persist = fixture.PersistentSubscription;
 }
コード例 #12
0
 public AccountTests(EventStoreFixture fixture) : base(fixture)
 {
 }
コード例 #13
0
 public DepositChequeTests(EventStoreFixture fixture) : base(fixture)
 {
 }
コード例 #14
0
 public EventStoreGrpcTests(EventStoreFixture fixture)
 {
     _client = fixture.Client;
 }