@Test
public void testDownloadFilesWithoutSearchingResult() throws ServletException, IOException {

    //GIVEN
    List<List<String>> list = new ArrayList<>();
    given(session.getAttribute(SEARCH_RESULT_KEY)).willReturn(list);
    given(response.getOutputStream()).willReturn(outputStream);
    //WHEN
    underTest.downloadFiles(session, response);
    //THEN
    verify(fileZipper, times(0)).createZipWithFiles(list, outputStream);
}