@Test
public void configurationFileModified() {

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