Example #1
0
        public void RunMethodTest()
        {
            var newLogBook = new LogTests.testLogBook();

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