### Question:
CompiledJavaccFile { @Override public String toString() { return compiledJavaccFile.getAbsolutePath(); } CompiledJavaccFile(File file, File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); boolean customAstClassExists(); boolean customAstClassExists(FileTree fileTree); void copyCompiledFileToTargetDirectory(); void copyCustomAstClassToTargetDirectory(FileTree sourceTree); void ignoreCompiledFileAndUseCustomAstClassFromJavaSourceTree(FileTree javaSourceTree); @Override String toString();  }### Answer:
@Test public void toStringReturnsAbsoluteFileName() { File file = new File(outputDirectory, "FileWithCorrespondingCustomAstClass.java"); CompiledJavaccFile compiledJavaccFile = new CompiledJavaccFile(file, outputDirectory, customAstClassesDirectory, targetDirectory, logger); String stringValue = compiledJavaccFile.toString(); assertEquals(file.getAbsolutePath(), stringValue); }