@Test
public void itShouldMapUnknownRuntimeException() {

    String message = "message";
    RuntimeException runtimeException = new RuntimeException(message);
    Response actual = mapper.toResponse(runtimeException);
    assertThat(actual.getStatus()).isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR_500);
    assertThat((ErrorMessage) actual.getEntity())
            .extracting(ErrorMessage::getCode, ErrorMessage::getMessage, ErrorMessage::getDetails)
            .containsExactly(HttpStatus.INTERNAL_SERVER_ERROR_500, message, null);
}