@Test
public void getHistory() throws AecuException {

    when(historyUtil.getHistory(0, 1, resolver)).thenReturn(Arrays.asList(mock(HistoryEntry.class)));
    List<HistoryEntry> entries = service.getHistory(0, 1);
    assertEquals(1, entries.size());
}