Service-notification handling for serviceHandler
[transportpce.git] / test-common / src / main / java / org / opendaylight / transportpce / test / AbstractTest.java
index 571e7063e5d7c4a453c6505058ac94afb72b0b3a..8d503a169b8dfe246cae625ce1042c3b91927e6d 100644 (file)
@@ -8,6 +8,8 @@
 package org.opendaylight.transportpce.test;
 
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
+import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
+import org.opendaylight.controller.md.sal.binding.api.NotificationService;
 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
 import org.opendaylight.transportpce.test.common.DataStoreContext;
 import org.opendaylight.transportpce.test.common.DataStoreContextImpl;
@@ -32,4 +34,12 @@ public abstract class AbstractTest {
         return dataStoreContextUtil;
     }
 
+    public NotificationPublishService getNotificationPublishService() {
+        return dataStoreContextUtil.getNotificationPublishService();
+    }
+
+    public NotificationService getNotificationService() {
+        return dataStoreContextUtil.getNotificationService();
+    }
+
 }