@Test
void errorHTML() {

    String actionId = UUID.randomUUID().toString();
    String html = handler.errorHTML(new Error("error message"), actionId);
    assertThat(html).contains("ERROR").contains("error message").contains(actionId);
    html = handler.errorHTML(new NotFoundException("not found"), actionId);
    assertThat(html).contains("NOT_FOUND").contains("not found").contains(actionId);
}