### Question:
Directory implements Serializable { public File getFile() { return m_directory; } Directory();  Directory(final File directory); static FileFilter getMatchAllFilesFilter(); void create(); File getFile(); File getFile(final File child); File[] listContents(final FileFilter filter); File[] listContents(final FileFilter filter,
                             final boolean includeDirectories,
                             final boolean absolutePaths); void deleteContents(); void delete(); File rebaseFromCWD(final File file); File relativeFile(final File file, final boolean mustBeChild); List<File> rebasePath(final String path); boolean isParentOf(final File file); void copyTo(final Directory target, final boolean incremental); String[] getWarnings(); @Override int hashCode(); @Override boolean equals(final Object o);  }### Answer:
@Test public void testDefaultConstructor() throws Exception { final Directory directory = new Directory(); final File cwd = new File(System.getProperty("user.dir")); assertEquals(cwd.getCanonicalPath(), directory.getFile().getCanonicalPath()); }