public void GetNormalized_AppliedToNormalized_ReturnsSelf()
        {
            var element = new JsonPathRecursiveDescentElement(new JsonPathPropertyElement("name"));

            var actual = element.GetNormalized();

            actual.Should().Be(element);
        }
        public void GetNormalized_AppliedToNotNormalizedArraySlice_ReturnsAppliedToAnyArrayIndex()
        {
            var element  = new JsonPathRecursiveDescentElement(new JsonPathArraySliceElement(null, null));
            var expected = new JsonPathRecursiveDescentElement(new JsonPathAnyArrayIndexElement());

            var actual = element.GetNormalized();

            actual.Should().BeEquivalentTo(expected);
        }