}
public void testHttpGetWithParamsViaHeader() throws Exception {
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedHeaderReceived("one", "uno");
mock.expectedHeaderReceived("two", "dos");
mock.expectedHeaderReceived(HttpMethods.HTTP_METHOD, "GET");
template.sendBodyAndHeader(serverUri, null, HttpProducer.QUERY, "one=uno&two=dos");
assertMockEndpointsSatisfied();