public void SetUp() { bus = new MockBus(); rawByteBus = new MockRawByteBus(); scheduleRepository = new MockScheduleRepository(); schedulerService = new SchedulerService( bus, rawByteBus, new ConsoleLogger(), scheduleRepository, () => now); }
public void SetUp() { bus = new MockBus(); rawByteBus = new MockRawByteBus(); scheduleRepository = new MockScheduleRepository(); schedulerService = new SchedulerService( bus, rawByteBus, new ConsoleLogger(), scheduleRepository, new SchedulerServiceConfiguration { PublishIntervalSeconds = 1, PurgeIntervalSeconds = 1 }); }