public ProcessAsyncEventsJobHandlerTests() { asyncEventWorker = Substitute.For <IAsyncEventWorker>(); jobScheduler = Substitute.For <IInMemoryJobScheduler>(); asyncEventPipelineConfiguration = new AsyncEventPipelineConfiguration(); sut = new ProcessAsyncEventsJobHandler(asyncEventWorker, asyncEventPipelineConfiguration, jobScheduler); }
public ProcessAsyncEventsJobHandler(IAsyncEventWorker asyncEventWorker, IAsyncEventPipelineConfiguration asyncEventPipelineConfiguration, IInMemoryJobScheduler jobScheduler) { this.asyncEventWorker = asyncEventWorker; this.asyncEventPipelineConfiguration = asyncEventPipelineConfiguration; this.jobScheduler = jobScheduler; }
public LockingAsyncEventWorker(IAsyncEventWorker asyncEventWorkerImplementation, IAsyncEventWorkerLockCache asyncEventWorkerLockCache) { this.asyncEventWorkerImplementation = asyncEventWorkerImplementation; this.asyncEventWorkerLockCache = asyncEventWorkerLockCache; }