monitor2.addListener(cli);
wait = blocker.init("s");
FileUtil.setCharacterFileContentToFileSystem(TMP + "/dir-monitor/not-dir.txt", "It's not a DIR", StringUtil.US_ASCII);
wait.waitForResult(1000);
assertEquals(1, cld.cnt());
boolean b = monitor2.removeListener(cli);
assertTrue(b);
assertFalse(monitor2.isDir());
FileOutputStream fo = new FileOutputStream(TMP + "/dir-monitor/not-dir.txt");
wait = blocker.init("s");