Beispiel #1
0
        public async Task SetUp()
        {
            serviceProvideMock = MocksFactory.ServiceProvider();
            loggerMock         = MocksFactory.GetLogger <JobExecutor>();

            jobExecutor = new JobExecutor(
                loggerMock,
                serviceProvideMock,
                new ExecutionCache()
                );

            await jobExecutor.StopAsync(new CancellationToken(true));
        }