### Question:
CSVFileManager { public void unLinkAliasFromFolder(String alias, CSVFolder folder) throws ServerCommunicationException, InvalidWriteEnablerException, ImmutableFileExistsException, RemoteFileDoesNotExistException, FailedToVerifySignatureException { if (folder.getContents() == null) { this.downloadFolder(folder); } folder.getContents().remove(alias); this.uploadFolder(folder); if (folder.getCapability().getStorageIndex() .equals(this.sharedfolder.getCapability().getStorageIndex())) { this.sharedfolder = folder; } } CSVFileManager(Communication connection);  CSVFileManager(Capability capability, Communication connection); void setRootCapability(Capability capability); CSVObject putObjectIntoFolder(CSVObject object, CSVFolder folder,
			String alias); CSVObject putObjectIntoCurrentFolder(CSVObject object, String alias); CSVFile uploadFile(CSVFile file); CSVFolder uploadFolder(CSVFolder folder); CSVFile downloadFile(CSVFile file); CSVFolder downloadFolder(CSVFolder folder); CSVFolder downloadFolder(String alias, CSVFolder fromFolder); CSVObject downloadObject(CSVObject object); CSVFolder downloadFolder(Capability capability); CSVFolder cd(String alias); CSVFolder getShareFolder(); CSVFolder getCurrentFolder(); CSVFolder getParentFolder(); CSVFolder replaceCurrentFolder(); CSVFolder getRootFolder(); void unlinkAliasFromCurrentFolder(String alias); void unLinkAliasFromFolder(String alias, CSVFolder folder); static final String SHARE_FOLDER; }### Answer:
@Test public void testUnlinkAliasFromFolder() throws FileNotFoundException, IllegalFileNameException, DuplicateAliasException, ServerCommunicationException, InvalidWriteEnablerException, ImmutableFileExistsException, InsufficientPermissionException, RemoteFileDoesNotExistException, FailedToVerifySignatureException { CSVFile file = new CSVFile(new File(this.testfile)); this.fileManager.putObjectIntoCurrentFolder(file, "afile"); Assert.assertTrue(this.fileManager.getCurrentFolder().getContents() .containsKey("afile")); this.fileManager.unlinkAliasFromCurrentFolder("afile"); Assert.assertFalse(this.fileManager.getCurrentFolder().getContents() .containsKey("afile")); CSVFolder newDownload = this.fileManager.getCurrentFolder(); newDownload = this.fileManager.downloadFolder(newDownload); Assert.assertFalse(newDownload.getContents().containsKey("afile")); }