### Question:
DdlVersionDirectoryTreeImpl implements DdlVersionDirectoryTree { public DdlVersionDirectory getVersionDirectory(int versionNo) { return createDdlVersionDirectory(versionNo); } DdlVersionDirectoryTreeImpl(File baseDir, File versionFile,
            String versionNoPattern, String env); DdlVersionDirectory getCurrentVersionDirectory(); DdlVersionDirectory getNextVersionDirectory(); DdlVersionDirectory getVersionDirectory(int versionNo); DdlInfoFile getDdlInfoFile();  }### Answer:
@Test public void testGetVersionDir() { File dir = tree.getVersionDirectory(10).asFile(); assertEquals("aaa", dir.getParentFile().getName()); assertEquals("0010", dir.getName()); }