chain.getHttpMethods().add(HTTPMethod.GET);
chain.getHttpMethods().add(HTTPMethod.POST);
matcher = proxy.matcherForChain(chain);
assertTrue(matcher.matches(createRequest(HTTPMethod.GET, "/wms")));
assertTrue(matcher.matches(createRequest(HTTPMethod.POST, "/wms")));
assertTrue(matcher.matches(createRequest(HTTPMethod.PUT, "/wms")));
// active method matching
chain.setMatchHTTPMethod(true);
matcher = proxy.matcherForChain(chain);
assertTrue(matcher.matches(createRequest(HTTPMethod.GET, "/wms")));