use of org.opendaylight.netconf.api.capability.BasicCapability in project netconf by opendaylight.
the class NetconfSessionMonitoringServiceTest method testListeners.
@Test
public void testListeners() {
monitoringService.onSessionUp(sessionMock1);
HashSet<Capability> added = new HashSet<>();
added.add(new BasicCapability("toAdd"));
monitoringService.onSessionDown(sessionMock1);
verify(listener).onSessionStarted(any());
verify(listener).onSessionEnded(any());
}
Aggregations