@Test
void pathNotDirectory() throws Exception {

    // when
    fileCopier.copy();
    parserProperties.getMirrorProperties().setDataPath(dataPath.resolve("file.txt"));
    recordFilePoller.poll();
    // then
    assertValidFiles();
    verifyNoInteractions(recordFileParser);
}