Merge DOMExtensibleService into DOMService
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / test / java / org / opendaylight / mdsal / binding / dom / adapter / test / util / BindingTestContext.java
index 24f5bf6687b65cb2781611f82e94466e2c123455..5a80df68ce56a8aea8c7a7e49bfc310e7435e4e8 100644 (file)
@@ -173,9 +173,9 @@ public class BindingTestContext implements AutoCloseable {
 
     public void startBindingNotificationBroker() {
         checkState(executor != null);
-        final DOMNotificationRouter router = new DOMNotificationRouter(16);
-        domPublishService = router;
-        domListenService = router;
+        final var router = new DOMNotificationRouter(16);
+        domPublishService = router.notificationPublishService();
+        domListenService = router.notificationService();
         publishService = new BindingDOMNotificationPublishServiceAdapter(mockSchemaService, domPublishService);
         listenService = new BindingDOMNotificationServiceAdapter(mockSchemaService, domListenService);