public void Execute_WithValidJob_RunsJob()
        {
            runner.Execute(sortingJobMock.Object);

            // Sleep due to fire and forget nature of Execute. - Might cause flakyness.
            Thread.Sleep(1000);
            sortingJobMock.Verify(s => s.Run(), Times.Once);
        }
Пример #2
0
 public void Execute(string displayName, string jobName, int version, string job)
 {
     _jobRunner.Execute(jobName, version, job);
 }