Ejemplo n.º 1
0
        public void XPathToStringWithHttpMethods()
        {
            var matcher = new XPathMatcher("/x/path/");

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

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