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