@Test public void execute_NullResponseHeadersGiven_ShouldRespondWithEmptyHeaders() throws IOException { FeignLambdaClientImpl client = new FeignLambdaClientImpl(serviceResponse); when(serviceResponse.getHeaders()).thenReturn(null); feign.Response response = client.execute(feignRequest, null); assertEquals(Collections.emptyMap(), response.headers()); }
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);  }