@Test
public final void testBuildLogFileListJsonShouldCreateProperJsonWhenNoFilesAvailable() {

    //GIVEN
    String expected = "{\"files\":[]}";
    String[] fileNames = {};
    given(file.list()).willReturn(fileNames);
    //WHEN
    String actual = underTest.buildLogFileListJson(file);
    //THEN
    assertEquals(actual, expected);
}