public void Setup() { this.repository = Substitute.For <InMemoryAlarmRepository>(); this.timer = Substitute.For <ITimer>(); this.service = new AlarmService(this.repository, timer); this.service.Start(); }
public void Setup() { this.repository = Substitute.For<InMemoryAlarmRepository>(); this.timer = Substitute.For<ITimer>(); this.service = new AlarmService(this.repository, timer); this.service.Start(); }