@Test
public void handleExceptionsReturnsResponseWhenSuccessful() {

  ResponseEntity<?> response = resource.handleExceptions(() -> ok("ok"));
  assertThat(response.getStatusCode(), is(OK));
  assertThat(response.getBody(), is("ok"));
}