Esempio n. 1
0
        public void ToString_InvalidJsonType_ThrowsInvalidCastException()
        {
            InvalidJsonValue value = new InvalidJsonValue();

            Assert.Throws <InvalidCastException>(() => value.ToString());
        }
Esempio n. 2
0
 public void ToString_InvalidJsonType_ThrowsInvalidCastException()
 {
     InvalidJsonValue value = new InvalidJsonValue();
     Assert.Throws<InvalidCastException>(() => value.ToString());
 }