use of org.onosproject.net.pi.service.PiTranslatable in project onos by opennetworkinglab.
the class DistributedPiTranslationStoreTest method setUp.
/**
* Sets up the store and the storage service test harness.
*/
@Before
public void setUp() {
store = new AbstractDistributedPiTranslationStore<PiTranslatable, PiEntity>() {
@Override
protected String mapSimpleName() {
return "test";
}
};
store.storageService = new TestStorageService();
store.setDelegate(event -> {
});
store.activate();
}
Aggregations