コード例 #1
0
        public void RunMethodTest()
        {
            var newLogBook = new LogTests.TestLogBook();

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