- final SettableFuture<AsyncDataChangeEvent<InstanceIdentifier<?>, DataObject>> event = SettableFuture.create();
- DataBroker dataBroker = testContext.getDataBroker();
- ListenerRegistration<org.opendaylight.controller.md.sal.binding.api.DataChangeListener> dclRegistration =
- dataBroker.registerDataChangeListener(LogicalDatastoreType.OPERATIONAL, AUGMENT_WILDCARDED_PATH,
- change -> event.set(change), DataChangeScope.SUBTREE);
+ DataBroker dataBroker = getDataBroker();
+
+ final TreeComplexUsesAugment treeComplexUsesAugment = treeComplexUsesAugment("one");
+
+ final TestListener<TreeComplexUsesAugment> listener = createListener(OPERATIONAL, AUGMENT_WILDCARDED_PATH,
+ added(AUGMENT_TLL_PATH, treeComplexUsesAugment));