public InMemoryJobScheduler(IInMemoryJobSchedulerConfiguration schedulerConfiguration, IInMemoryJobWorkerProcess workerProcess, IInMemoryJobSchedulerProcess schedulerProcess) { this.schedulerConfiguration = schedulerConfiguration; this.workerProcess = workerProcess; this.schedulerProcess = schedulerProcess; }
public InMemoryJobSchedulerTests() { schedulerConfiguration = new InMemoryJobSchedulerConfiguration(); workerProcess = Substitute.For <IInMemoryJobWorkerProcess>(); schedulerProcess = Substitute.For <IInMemoryJobSchedulerProcess>(); sut = new InMemoryJobScheduler(schedulerConfiguration, workerProcess, schedulerProcess); }
public InMemoryJobSchedulerProcess(IInMemoryJobWorkerProcess workerProcess) { this.workerProcess = workerProcess; }
public InMemoryJobSchedulerProcessTests() { workerProcess = Substitute.For <IInMemoryJobWorkerProcess>(); sut = new InMemoryJobSchedulerProcess(workerProcess); }