Exemplo n.º 1
0
        public void RunMethodTest()
        {
            var newLogBook = new LogTests.TestLogBook();

            Safe.Run(() => Log.LogBook = newLogBook);
            Assert.IsNull(newLogBook.LoggedException);
        }
Exemplo n.º 2
0
 public void TestInitialize()
 {
     Type        = typeof(Safe);
     _logBook    = new LogTests.TestLogBook();
     Log.LogBook = _logBook;
 }