@Test
public void execute_fail() {

    HistoryEntryImpl entry = new HistoryEntryImpl();
    entry.setState(STATE.FINISHED);
    ExecutionResult singleResult = new ExecutionResult(ExecutionState.FAILED, "", "", "", null, "");
    entry.getSingleResults().add(singleResult);
    history.add(entry);
    Result result = check.execute();
    assertEquals(Result.Status.CRITICAL, result.getStatus());
}