public void RegexToStringWithHttpMethods() { var matcher = new RegexMatcher("foobar"); matcher.SetMatchingHttpMethods("get post"); Assert.Equal("Regex 'foobar' (GET,POST)", matcher.ToString()); }