### Question:
FolderServiceImpl extends RemoteServiceServlet implements FolderService { public static GUIFolder getFolder(Session session, long folderId) throws ServerException { return getFolder(session, folderId, false); }  @Override GUIFolder inheritRights(long folderId, long rightsFolderId); @Override void applyRights(GUIFolder folder, boolean subtree); @Override void applyMetadata(long parentId); @Override void delete(final long[] folderIds); static GUIFolder fromFolder(Folder folder, boolean computePath); @Override int[] computeStats(long folderId); static GUIFolder getFolder(Session session, long folderId); static GUIFolder getFolder(Session session, long folderId, boolean computePath); @Override GUIFolder getFolder(long folderId, boolean computePath, boolean computeDocs, boolean computeSubfolders); @Override void copyFolders(long[] folderIds, long targetId, boolean foldersOnly, boolean inheritSecurity); @Override void move(long[] folderIds, long targetId); @Override void rename(long folderId, String name); @Override GUIFolder save(GUIFolder folder); @Override GUIFolder create(GUIFolder newFolder, boolean inheritSecurity); @Override GUIFolder createAlias(long parentId, long foldRef); @Override void paste(long[] docIds, long folderId, String action); @Override void pasteAsAlias(long[] docIds, long folderId, String type); @Override GUIValue[] loadTemplates(); @Override void saveTemplates(GUIValue[] templates); @Override void applyTemplate(long folderId, long templateId, boolean inheritSecurity); @Override void restore(Long[] folderIds, long parentId); @Override void deleteFromTrash(Long[] ids); @Override void applyTags(long parentId); @Override void setFolderPagination(long folderId, Integer startRecord, Integer pageSize); @Override void applyGridLayout(long folderId); @Override void applyOCR(long parentId);  }### Answer:
@Test public void testGetFolder() throws ServerException { GUIFolder folder = service.getFolder(6, false, false, false); Assert.assertNotNull(folder); Assert.assertEquals("folder6", folder.getName()); Assert.assertEquals(5, folder.getParentId()); folder = service.getFolder(1202, true, false, false); Assert.assertNotNull(folder); Assert.assertEquals("xyz", folder.getName()); Assert.assertEquals(1201, folder.getParentId()); Assert.assertEquals("/test/ABC/xyz", folder.getPathExtended()); folder = service.getFolder(9999, false, false, false); Assert.assertNull(folder); }