public void Setup()
 {
     this.dateTimeProvider = Substitute.For<IDateTimeProvider>();
     this.condition = new FreshnessRepositoryFilter(this.dateTimeProvider, SAMPLE_FRESHNESS);
     this.alarm = new Alarm(this.dateTimeProvider);
 }
Пример #2
0
 public void Setup()
 {
     this.dateTimeProvider = Substitute.For<IDateTimeProvider>();
     this.alarm = new Alarm(this.dateTimeProvider);
 }