ListFileCrawler extends FileCrawler { public List<File> getFiles() { return files; }  List<File> getFiles();  }
@Test public void testCrawl() { ListFileCrawler crawler = new ListFileCrawler(); crawler.crawl(new File("./src/test/java")); List<File> files = crawler.getFiles(); assertFalse(files.contains(new File("./src/test/java/not-found.txt"))); assertTrue(files.contains(new File("./src/test/java/com/googlecode/mycontainer/maven/plugin/util/ListFileCrawlerTest.java"))); }