use of org.opendaylight.protocol.bgp.linkstate.impl.RIBActivator in project bgpcep by opendaylight.
the class ActivatorTest method testRIBActivator.
@Test
public void testRIBActivator() {
final RIBActivator ribAct = new RIBActivator();
final RIBExtensionProviderContext context = new SimpleRIBExtensionProviderContext();
assertNull(context.getRIBSupport(LinkstateAddressFamily.class, LinkstateSubsequentAddressFamily.class));
ribAct.startRIBExtensionProvider(context);
assertNotNull(context.getRIBSupport(LinkstateAddressFamily.class, LinkstateSubsequentAddressFamily.class));
ribAct.close();
}
Aggregations