assertEquals("http://www.google.com/search", url);
}
@Test
public void createMethodAlwaysUseUserChoosenMethod() throws URISyntaxException {
HttpMethods method = HttpHelper.createMethod(
createExchangeWithOptionalHttpQueryAndHttpMethodHeader("q=camel", HttpMethods.POST),
createHttpEndpoint(true, "http://www.google.com/search"),
false);
assertEquals(HttpMethods.POST, method);