### Question:
CSVFileManager { protected String getAliasOfCurrentFolder() { if (this.location == null || this.location.size() < 2) { return null; } CSVFolder parent = this.getParentFolder(); Set<String> aliases = parent.getContents().keySet(); String compareTo = this.getCurrentFolder().getCapability() .getStorageIndex(); for (Iterator<String> iterator = aliases.iterator(); iterator.hasNext();) { String key = iterator.next(); if (parent.getContents().get(key).getStorageIndex() .equals(compareTo)) { return key; } } return null; } 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 testGetAliasOfCurrentFolder() throws IllegalFileNameException, DuplicateAliasException, ServerCommunicationException, InvalidWriteEnablerException, ImmutableFileExistsException, InsufficientPermissionException, RemoteFileDoesNotExistException, NoSuchAliasException, FailedToVerifySignatureException { CSVFolder folder = new CSVFolder(); this.fileManager.putObjectIntoCurrentFolder(folder, "alias"); this.fileManager.cd("alias"); Assert.assertEquals("alias", this.fileManager.getAliasOfCurrentFolder()); }