@Test
public void testSearchForFilesWhenSearchedTextIsNotEmpty() throws IOException {

    //GIVEN
    //WHEN
    underTest.searchForFiles("test", session);
    //THEN
    verify(luceneEngine).search("test");
    verify(fileChecker).checkFilesExistsWithPairs(lucineResult);
    verify(session).setAttribute("searchResult", listOfLists);
}