Example #1
0
        [TestMethod] public void RunMethodTest()
        {
            var newLogBook = new LogTests.TestLogBook();

            Safe.Run(() => Log.logBook = newLogBook);
            Assert.IsNull(newLogBook.LoggedException);
        }
Example #2
0
 [TestInitialize] public void TestInitialize()
 {
     type        = typeof(Safe);
     logBook     = new LogTests.TestLogBook();
     Log.logBook = logBook;
 }