public UC1AccountTestCases(EventStoreFixture fixture) { _accountId = Guid.NewGuid(); _runner = new EventStoreScenarioRunner <Account>( _accountId, fixture, (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher)); }
public US8WithdrawalBlockAccount(EventStoreFixture fixture) { _accountId = Guid.NewGuid(); _runner = new EventStoreScenarioRunner <Account>( _accountId, fixture, (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher)); }
public SetDailyWireTransferLimitTests(EventStoreFixture fixture) { _accountId = Guid.NewGuid(); _runner = new EventStoreScenarioRunner <Account>( _accountId, fixture, (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher)); }
public WireTransferTests(EventStoreFixture fixture) { _accountId = Guid.NewGuid(); _clock = SystemClock.Instance; _runner = new EventStoreScenarioRunner <Account>( _accountId, fixture, (repository, dispatcher) => new AccountCommandHandler(repository, dispatcher, _clock)); }
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)); }