### Question:
CompiledJavaccFilesDirectory { @Override public String toString() { return outputDirectory.getAbsolutePath(); } CompiledJavaccFilesDirectory(File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); Collection<CompiledJavaccFile> listFiles(); @Override String toString();  }### Answer:
@Test public void toStringReturnsAbsoluteDirectoryPath() { File outputDirectory = new File(getClass().getResource("/compiledResults").getFile()); CompiledJavaccFilesDirectory directory = new CompiledJavaccFilesDirectory(outputDirectory, null, null, null); String stringValue = directory.toString(); assertEquals(outputDirectory.getAbsolutePath(), stringValue); }