示例#1
0
        public void XPathToStringWithHttpMethods()
        {
            var matcher = new XPathMatcher("/x/path/");

            matcher.SetMatchingHttpMethods("get post");
            Assert.Equal("XPath '/x/path/' (GET,POST)", matcher.ToString());
        }
示例#2
0
        public void XPathToStringWithoutHttpMethods()
        {
            var matcher = new XPathMatcher("/x/path/");

            Assert.Equal("XPath '/x/path/'", matcher.ToString());
        }