use of org.folio.rest.tools.client.exceptions.ResponseException in project raml-module-builder by folio-org.
the class RestRoutingTest method getResponseFailed.
@Test
void getResponseFailed() {
Response response = ResponseDelegate.status(456).build();
assertThat(RestRouting.getResponse(Future.failedFuture(new ResponseException(response))).getStatus(), is(456));
}
Aggregations