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

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