@Test public void execute_BadStatusGiven_ShouldRespondWithBadStatus() throws IOException { FeignLambdaClientImpl client = new FeignLambdaClientImpl(serviceResponse); when(serviceResponse.getStatusCode()).thenReturn(400); feign.Response response = client.execute(feignRequest, null); assertEquals(400, response.status()); }
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);  }