assertEquals(edges.get(0), new ArrayList<EdgeRef>(statusMap.keySet()).get(0));
Status status = statusMap.get(edges.get(0));
assertEquals("up", status.computeStatus());
}
@Test
<BUG>public void testGetLldpLinkStatusDown(){
</BUG>
EasyMock.expect(
m_alarmDao.findMatching(EasyMock.anyObject(org.opennms.core.criteria.Criteria.class))).andReturn(createDownAlarm());
<BUG>EasyMock.expect(m_lldpLinkDao.findMatching(EasyMock.<org.opennms.core.criteria.Criteria>anyObject())).andReturn(createOspfLinks());

EasyMock.replay(m_alarmDao, m_lldpLinkDao);
</BUG>
List<EdgeRef> edges = createEdges();

assertEquals(edges.get(0), new ArrayList<EdgeRef>(statusMap.keySet()).get(0));
Status status = statusMap.get(edges.get(0));
assertEquals("up", status.computeStatus());
}
@Test
public void testGetOspfLinkStatusDown(){
EasyMock.expect(
m_alarmDao.findMatching(EasyMock.anyObject(org.opennms.core.criteria.Criteria.class))).andReturn(createDownAlarm());
EasyMock.expect(m_ospfLinkDao.findMatching(EasyMock.<org.opennms.core.criteria.Criteria>anyObject())).andReturn(createOspfLinks());
EasyMock.replay(m_alarmDao, m_ospfLinkDao);
List<EdgeRef> edges = createEdges();
