Exemplo n.º 1
0
 public void ExceptionReflectorTest()
 {
     var ex = new ApplicationException("ex1", new TestException("ex2"));
     var refl = new ExceptionReflector(ex);
     Assert.IsTrue(refl.ReflectedText.Contains("ex1"));
     Assert.IsTrue(refl.ReflectedText.Contains("ex2"));
 }
Exemplo n.º 2
0
        public void ExceptionReflectorTest()
        {
            var ex   = new ApplicationException("ex1", new TestException("ex2"));
            var refl = new ExceptionReflector(ex);

            Assert.IsTrue(refl.ReflectedText.Contains("ex1"));
            Assert.IsTrue(refl.ReflectedText.Contains("ex2"));
        }