Пример #1
0
        public void GetNormalized_ReturnsSelf()
        {
            var element = new JsonPathAnyPropertyElement();

            var actual = element.GetNormalized();

            actual.Should().Be(element);
        }
Пример #2
0
        public void Matches(JsonPathElementType type, bool?expected)
        {
            var element = new JsonPathAnyPropertyElement();
            var other   = ElementCreator.CreateAny(type);

            bool?actual = element.Matches(other);

            actual.Should().Be(expected);
        }
Пример #3
0
        public void IsNormalized_ReturnsTrue()
        {
            var element = new JsonPathAnyPropertyElement();

            element.IsNormalized.Should().BeTrue();
        }
Пример #4
0
        public void IsStrict_ReturnsFalse()
        {
            var element = new JsonPathAnyPropertyElement();

            element.IsStrict.Should().BeFalse();
        }