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(); }
public void Setup() { _processor = new LessonProcessor(_repository); }