コード例 #1
0
        public void SkippedNonReadableProperty()
        {
            ExceptionFormatter formatter = new ExceptionFormatter();
            Exception          nonReadablePropertyException = new ExceptionWithNonReadableProperty("MyException");
            string             message = formatter.GetMessage(nonReadablePropertyException);

            Assert.IsTrue(message.Length > 0);
        }
コード例 #2
0
        public void SkippedNonReadableProperty()
        {
            ExceptionFormatter formatter = new ExceptionFormatter();

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