use of org.onosproject.store.trivial.SimpleTopologyStore in project onos by opennetworkinglab.
the class TopologyManagerTest method setUp.
@Before
public void setUp() {
mgr = new TopologyManager();
service = mgr;
registry = mgr;
mgr.store = new SimpleTopologyStore();
injectEventDispatcher(mgr, new TestEventDispatcher());
mgr.activate();
service.addListener(listener);
provider = new TestProvider();
providerService = registry.register(provider);
assertTrue("provider should be registered", registry.getProviders().contains(provider.id()));
}
Aggregations