@Test(expected = IllegalArgumentException.class) public void createFolderInParentDirectoryPathShouldThrowIllegalArgumentExceptionWhenFolderNameIsNull() throws IOException { folderHandler.createFolderInParentDirectoryPath(null, FOLDER_NAME_PARENT); }
public void createFolderInParentDirectoryPath(String folderName, String parentDirectoryPath) throws IOException { Assert.notNull(parentDirectoryPath); Assert.notNull(folderName); FileUtils.forceMkdir(new File(parentDirectoryPath + File.separator + folderName)); }
FolderHandler { public void createFolderInParentDirectoryPath(String folderName, String parentDirectoryPath) throws IOException { Assert.notNull(parentDirectoryPath); Assert.notNull(folderName); FileUtils.forceMkdir(new File(parentDirectoryPath + File.separator + folderName)); } }
FolderHandler { public void createFolderInParentDirectoryPath(String folderName, String parentDirectoryPath) throws IOException { Assert.notNull(parentDirectoryPath); Assert.notNull(folderName); FileUtils.forceMkdir(new File(parentDirectoryPath + File.separator + folderName)); }  }
FolderHandler { public void createFolderInParentDirectoryPath(String folderName, String parentDirectoryPath) throws IOException { Assert.notNull(parentDirectoryPath); Assert.notNull(folderName); FileUtils.forceMkdir(new File(parentDirectoryPath + File.separator + folderName)); }  void createFolderInParentDirectoryPath(String folderName, String parentDirectoryPath); boolean existFolderNameInParentDirectoryPath(String folderName, String parentDirectoryPath); }
FolderHandler { public void createFolderInParentDirectoryPath(String folderName, String parentDirectoryPath) throws IOException { Assert.notNull(parentDirectoryPath); Assert.notNull(folderName); FileUtils.forceMkdir(new File(parentDirectoryPath + File.separator + folderName)); }  void createFolderInParentDirectoryPath(String folderName, String parentDirectoryPath); boolean existFolderNameInParentDirectoryPath(String folderName, String parentDirectoryPath);  }