@Test
public void execute() throws AecuException {

    ExecutionResult result = mock(ExecutionResult.class);
    when(service.execute(FILE1)).thenReturn(result);
    String out = bean.execute(PATH);
    verify(service, times(1)).getFiles(PATH);
    verify(service, times(1)).createHistoryEntry();
    verify(service, times(1)).execute(FILE1);
    verify(service, times(1)).execute(FILE1);
    verify(service, times(1)).finishHistoryEntry(Mockito.any());
}