assertEquals(HttpMethods.GET, method);
}
@Test
public void createMethodUseGETIfQueryIsProvidedInEndpointURI() throws URISyntaxException {
HttpMethods method = HttpHelper.createMethod(
createExchangeWithOptionalHttpQueryAndHttpMethodHeader(null, null),
createHttpEndpoint(true, "http://www.google.com/search?q=test"),
false);
assertEquals(HttpMethods.GET, method);