### Question:
DefaultRemoteRepositoryConfigDao implements
        RemoteRepositoryConfigDao { @Override public String getRepositoryDescription(String repositoryID) { return this.getRepositoryById(repositoryID).getRepositoryDescription(); } DefaultRemoteRepositoryConfigDao(Resource configResource); @Override void loadConfiguration(); @Override Resource getConfigResource(); @Override void setConfigResource(Resource configResource); @Override String getJasperReportsVersion(); @Override Boolean isRepositoryActive(String repositoryID); @Override URI getURI(String repositoryID); @Override String getLoginUser(String repositoryID); @Override String getLoginRepoPassword(String repositoryID); @Override String getRepositoryName(String repositoryID); @Override String getRepositoryDescription(String repositoryID); @Override String getRepositoryManagementURL(String repositoryID); @Override List<RemoteRepositoryDefinition> getAllRepositories(); @Override List<RemoteRepositoryDefinition> getActiveRepositories(); @Override RemoteRepositoryDefinition getRepositoryById(String repositoryID);  }### Answer:
@Test public void testGetRepositoryDescription() throws Exception { assertEquals("Get CIO remote repository name", "OpenNMS.com provides high value reports.", m_remoteRepositoryConfigDao.getAllRepositories().get(0).getRepositoryDescription()); assertEquals("Get CONNECT remote repository name", "OpenNMS Community provides free reports.", m_remoteRepositoryConfigDao.getAllRepositories().get(1).getRepositoryDescription()); }