@Test
public void testRunShouldNotDoAnythingWhenThereAreNoFilesInTheFolder() {

    // GIVEN
    File[] messageFiles = null;
    given(logFilePath.getLogFilePath()).willReturn(path);
    given(path.toFile()).willReturn(logFolder);
    given(logFolder.listFiles(fileFilter)).willReturn(messageFiles);
    // WHEN
    underTest.run();
    // THEN NullPointerException is not thrown
}