use of org.opennms.netmgt.dao.api.LldpLinkDao in project opennms by OpenNMS.
the class EnhancedLinkdTopologyProviderTest method testDataCorrectness.
@Test
public void testDataCorrectness() {
LldpLinkDao lldpLinkDao = m_databasePopulator.getLldpLinkDao();
List<LldpLink> links = lldpLinkDao.findAll();
assertEquals(16, links.size());
OspfLinkDao ospfLinkDao = m_databasePopulator.getOspfLinkDao();
List<OspfLink> ospfLinks = ospfLinkDao.findAll();
assertEquals(2, ospfLinks.size());
}
Aggregations