### Question:
CSVFileManager { public CSVFolder cd(String alias) throws ServerCommunicationException, RemoteFileDoesNotExistException, NoSuchAliasException, FailedToVerifySignatureException { if (alias.equals("..")) { this.location.pop(); return this.location.peek(); } if (!this.location.peek().getContents().containsKey(alias)) { throw new NoSuchAliasException(alias); } Capability capability = this.location.peek().getContents().get(alias); CSVFolder folder = downloadFolder(capability); this.location.push(folder); return 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(expected = NoSuchAliasException.class) public void testCDToInvalidFolder() throws ServerCommunicationException, RemoteFileDoesNotExistException, NoSuchAliasException, FailedToVerifySignatureException { folder = this.fileManager.cd("myFolder"); }