예제 #1
0
        public void SkippedNonReadableProperty()
        {
            ExceptionFormatter formatter = new ExceptionFormatter();
            Exception          nonReadablePropertyException = new ExceptionWithNonReadableProperty("MyException");
            string             message = formatter.GetMessage(nonReadablePropertyException);

            Assert.IsTrue(message.Length > 0);
        }
        public void SkippedNonReadableProperty()
        {
            ExceptionFormatter formatter = new ExceptionFormatter();

            Exception nonReadablePropertyException = new ExceptionWithNonReadableProperty("MyException");
            
            string message = formatter.GetMessage(nonReadablePropertyException);
            
            Assert.IsTrue(message.Length > 0);
        }