@Test
public void configurationFileRemoved() {

    String path = "myPath.cfg";
    configDispatcherFileWatcher.processWatchEvent(null, StandardWatchEventKinds.ENTRY_DELETE,
            new File(path).toPath());
    verify(configDispatcher).fileRemoved(new File(path).getAbsolutePath());
}