use of org.onosproject.store.key.impl.DistributedDeviceKeyStore in project onos by opennetworkinglab.
the class DeviceKeyManagerTest method setUp.
@Before
public void setUp() throws Exception {
deviceKeyStore = new DistributedDeviceKeyStore();
TestUtils.setField(deviceKeyStore, "storageService", new TestStorageService());
deviceKeyStore.activate();
manager = new DeviceKeyManager();
manager.store = deviceKeyStore;
manager.addListener(listener);
NetTestTools.injectEventDispatcher(manager, new TestEventDispatcher());
manager.activate();
deviceKeyService = manager;
}
Aggregations