static void Main(string[] args) { var w = new Worker(new FileLogger()); w.DoStuff(); Console.Read(); }
public void WorkerServiceDoesWork() { var worker = new Worker(new FileLogger()); var expected = true; var actual = worker.DoStuff(); Assert.AreEqual(expected, actual, "something went wrong"); }