void (Module module, TestFileSystemBuilder item, final boolean forTests) { File outputDir = getOutputDir(module, forTests); Assert.assertTrue((forTests? "Test output" : "Output") +" directory " + outputDir.getAbsolutePath() + " doesn't exist", outputDir.exists()); item.build().assertDirectoryEqual(outputDir); }