Esempio n. 1
0
        public void ShouldParseProperty(string property, object value)
        {
            var parser = new JsonPropertyParser();

            var result = parser.TryGetPropertyValue<object>(this.JObject, property);
            var expected = value;

            Assert.Equal(expected, result);
        }
Esempio n. 2
0
        public void ShouldParseProperty(string property, object value)
        {
            var parser = new JsonPropertyParser();

            var result   = parser.TryGetPropertyValue <object>(this.JObject, property);
            var expected = value;

            Assert.Equal(expected, result);
        }