Example #1
0
        static void Main(string[] args)
        {
            ILessonRepository    repository    = new LessonRepository();
            ILessonQueueProvider queueProvider = new QueueProvider();
            ILessonJob           job           = new LessonProcessor(repository);

            Task t = ProcessAsync(queueProvider, job);

            t.Wait();
        }
Example #2
0
 public void Setup()
 {
     _processor = new LessonProcessor(_repository);
 }