FileUtils.stringToFile(basepath + "/in/foo.txt", text);
File file = FileUtils.newFile(basepath, "out/foo.txt.processed");
PollingProber pollingProber = new PollingProber(5000, 10);
pollingProber.check(new FileExists(file));
String result = FileUtils.readFileToString(file, "UTF8");
assertEquals(text, result);
}