Ejemplo n.º 1
0
        public WorkerContextMock()
        {
            SharedContext = new SharedWorkerContextMock();
            WorkerNumber  = 1;

            _context = new Lazy <WorkerContext>(
                () => new WorkerContext(SharedContext.Object, WorkerNumber));
        }
Ejemplo n.º 2
0
        public WorkerContextMock()
        {
            SharedContext = new SharedWorkerContextMock();
            WorkerNumber = 1;

            _context = new Lazy<WorkerContext>(
                () => new WorkerContext(SharedContext.Object, WorkerNumber));
        }