Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var w = new Worker(new FileLogger());
            w.DoStuff();

            Console.Read();
        }
Ejemplo n.º 2
0
        public void WorkerServiceDoesWork()
        {
            var worker = new Worker(new FileLogger());
            var expected = true;

            var actual = worker.DoStuff();

            Assert.AreEqual(expected, actual, "something went wrong");
        }