SmapFile { @Override public String toString() { return generatedFile.toString(); } SmapFile(Path rootDir, String smapString, Path uriRoot, FileSystem fileSystem); Path getGeneratedFile(); @Override String toString();  }
@Test void smapfile_tostring() { SmapFile smapFile = new SmapFile(Paths.get("dir"), "SMAP\ntest.jsp\nJSP\n*S JSP\n*F\n*L\n", null, null); assertThat(smapFile).hasToString(Paths.get("dir/test.jsp").toString()); }