EasyMock.expect(m_mockRemoteRepositoryConfigDao.getRepositoryManagementURL("repositoryId")).andReturn("MockedDaoManagementUrl");
EasyMock.expect(m_mockRemoteRepositoryConfigDao.getRepositoryName("repositoryId")).andReturn("MockedDaoRepositoryName");
EasyMock.replay(m_mockRemoteRepositoryConfigDao);
m_globalReportRepository = new DefaultGlobalReportRepository(m_mockRemoteRepositoryConfigDao, m_mockLocalReportRepository);
}
<BUG>@Test
public void addReportRepositoryTest() {</BUG>
assertEquals("Repository is initialized with one configured repository", 1, m_globalReportRepository.getRepositoryList().size());
m_globalReportRepository.addReportRepository(m_mockLocalReportRepository);
assertEquals("One repository is added", 2, m_globalReportRepository.getRepositoryList().size());

EasyMock.expect(m_mockRemoteRepositoryConfigDao.getRepositoryManagementURL("repositoryId")).andReturn("MockedDaoManagementUrl");
EasyMock.expect(m_mockRemoteRepositoryConfigDao.getRepositoryName("repositoryId")).andReturn("MockedDaoRepositoryName");
EasyMock.replay(m_mockRemoteRepositoryConfigDao);
m_globalReportRepository = new DefaultGlobalReportRepository(m_mockRemoteRepositoryConfigDao, m_mockLocalReportRepository);
}
@Test
@Ignore
public void addReportRepositoryTest() {
assertEquals("Repository is initialized with one configured repository", 1, m_globalReportRepository.getRepositoryList().size());
m_globalReportRepository.addReportRepository(m_mockLocalReportRepository);
assertEquals("One repository is added", 2, m_globalReportRepository.getRepositoryList().size());
