コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }