</BUG>
m_edgeProvider = EasyMock.createMock(EdgeProvider.class);
}
@Test
<BUG>public void testGetLldpLinkStatus() {
</BUG>
EasyMock.expect(
<BUG>m_alarmDao.findMatching(EasyMock.anyObject(org.opennms.core.criteria.Criteria.class))).andReturn(createAlarm());

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();

m_alarmDao = EasyMock.createMock(AlarmDao.class);
m_ospfLinkDao = EasyMock.createMock(OspfLinkDao.class);
m_statusProvider = new OspfLinkStatusProvider();
m_statusProvider.setAlarmDao(m_alarmDao);
m_statusProvider.setOspfLinkDao(m_ospfLinkDao);
m_edgeProvider = EasyMock.createMock(EdgeProvider.class);
}
@Test
public void testGetOspfLinkStatus() {
EasyMock.expect(
m_alarmDao.findMatching(EasyMock.anyObject(org.opennms.core.criteria.Criteria.class))).andReturn(createEmptyAlarmList());
EasyMock.expect(m_ospfLinkDao.findMatching(EasyMock.<org.opennms.core.criteria.Criteria>anyObject())).andReturn(createOspfLinks());
EasyMock.replay(m_alarmDao, m_ospfLinkDao);
List<EdgeRef> edges = createEdges();
