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

            Console.Read();
        }
Esempio 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");
        }