@Test public void execute_RequestHeadersGiven_ShouldRequestWithHeaders() throws IOException { FeignLambdaClientImpl client = new FeignLambdaClientImpl(serviceResponse); when(feignRequest.headers()).thenReturn(Collections.singletonMap("k", Collections.singleton("v"))); client.execute(feignRequest, null); assertEquals(Collections.singletonMap("k", Collections.singletonList("v")), client.getServiceRequest().getHeaders()); }
protected abstract ServiceResponse execute(ServiceRequest serviceRequest, feign.Request.Options feignOptions);
AbstractFeignLambdaServiceClient implements Client { protected abstract ServiceResponse execute(ServiceRequest serviceRequest, feign.Request.Options feignOptions); }
AbstractFeignLambdaServiceClient implements Client { protected abstract ServiceResponse execute(ServiceRequest serviceRequest, feign.Request.Options feignOptions);  }
AbstractFeignLambdaServiceClient implements Client { protected abstract ServiceResponse execute(ServiceRequest serviceRequest, feign.Request.Options feignOptions);  @Override final feign.Response execute(feign.Request feignRequest, feign.Request.Options feignOptions); }
AbstractFeignLambdaServiceClient implements Client { protected abstract ServiceResponse execute(ServiceRequest serviceRequest, feign.Request.Options feignOptions);  @Override final feign.Response execute(feign.Request feignRequest, feign.Request.Options feignOptions);  }