예제 #1
0
        public void NotValidPath_ReturnsFalse(string path)
        {
            bool valid = JsonPath.IsPathValid(path, out string error);

            Assert.False(valid);
            Assert.NotNull(error);
        }
예제 #2
0
        public void ValidPath_ReturnsTrue(string path)
        {
            bool valid = JsonPath.IsPathValid(path, out string error);

            Assert.True(valid);
            Assert.Null(error);
        }