@Test
public void testGetLogContent() throws IOException {

    //GIVEN
    String expectedFileContent = "content";
    Collection<File> files = new ArrayList<>();
    String fileName = "a";
    File file = new File("a");
    files.add(file);
    given(fileUtils.getFilesWithExtension(LOG_PATH, LOG_EXTENSION)).willReturn(files);
    given(fileUtils.readFileToString(file)).willReturn(expectedFileContent);
    //WHEN
    String result = underTest.getLogContent(fileName);
    //THEN
    assertEquals(expectedFileContent, result);
}