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

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