public void FromDotSeparatedString_Invalid(string value)
 {
     Assert.Throws <ArgumentException>(() => FieldPath.FromDotSeparatedString(value));
 }
Beispiel #2
0
 private static FieldPath[] SplitPaths(params string[] paths) =>
 paths.Select(p => FieldPath.FromDotSeparatedString(p)).ToArray();
        public void FromDotSeparatedString(string expectedEncodedPath, string input)
        {
            FieldPath path = FieldPath.FromDotSeparatedString(input);

            Assert.Equal(expectedEncodedPath, path.EncodedPath);
        }