@Test
public void shouldHaveToString() {

    assertThat(error.toString(), is("ERROR: (1) " + message.text("message") + " Resource=\"" + resource + "\" At \""
                                    + location + "\" (threw " + throwable.getLocalizedMessage() + ")"));
}