public void TestInitialise() { bus = new InProcessBus(); accountCreatedEvent = new AccountCreatedEvent(Guid.NewGuid(), 0, Guid.NewGuid().ToString(), Guid.NewGuid().ToString(), false); sut = new AccountOpener(accountCreatedEvent, bus); bus.Subscribe(sut); AlarmClockService alarmClockService = new AlarmClockService(bus); }
public void TestInitialise() { this.bus = A.Fake <IBus>(); this.accountCreatedEvent = new AccountCreatedEvent(Guid.NewGuid(), 0, Guid.NewGuid().ToString(), Guid.NewGuid().ToString(), false); this.sut = new AccountOpener(this.accountCreatedEvent, this.bus); }