public ProcessAsyncEventsJobHandlerTests()
        {
            asyncEventWorker = Substitute.For <IAsyncEventWorker>();
            jobScheduler     = Substitute.For <IInMemoryJobScheduler>();
            asyncEventPipelineConfiguration = new AsyncEventPipelineConfiguration();

            sut = new ProcessAsyncEventsJobHandler(asyncEventWorker, asyncEventPipelineConfiguration, jobScheduler);
        }
Ejemplo n.º 2
0
 public ProcessAsyncEventsJobHandler(IAsyncEventWorker asyncEventWorker,
                                     IAsyncEventPipelineConfiguration asyncEventPipelineConfiguration,
                                     IInMemoryJobScheduler jobScheduler)
 {
     this.asyncEventWorker = asyncEventWorker;
     this.asyncEventPipelineConfiguration = asyncEventPipelineConfiguration;
     this.jobScheduler = jobScheduler;
 }
Ejemplo n.º 3
0
 public LockingAsyncEventWorker(IAsyncEventWorker asyncEventWorkerImplementation,
                                IAsyncEventWorkerLockCache asyncEventWorkerLockCache)
 {
     this.asyncEventWorkerImplementation = asyncEventWorkerImplementation;
     this.asyncEventWorkerLockCache      = asyncEventWorkerLockCache;
 }