@Test
void pollAndKeepFiles() throws Exception {

    // given
    parserProperties.setKeepFiles(true);
    fileCopier.copy();
    // when
    recordFilePoller.poll();
    // then
    assertAllProcessed();
}