Fix Notification raw types
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / test / java / org / opendaylight / mdsal / binding / dom / adapter / invoke / NotificationListenerInvokerTest.java
index 63417f389bb464dd57a45af59b6221ee8d58d33f..e8880d366702926da226a0ee4c2bbc1d3951a1ae 100644 (file)
@@ -17,6 +17,7 @@ import java.lang.invoke.MethodHandle;
 import java.lang.invoke.WrongMethodTypeException;
 import org.junit.Test;
 import org.opendaylight.yangtools.yang.binding.Augmentation;
+import org.opendaylight.yangtools.yang.binding.DataObject;
 import org.opendaylight.yangtools.yang.binding.Notification;
 import org.opendaylight.yangtools.yang.binding.NotificationListener;
 import org.opendaylight.yangtools.yang.common.QName;
@@ -60,7 +61,7 @@ public class NotificationListenerInvokerTest {
         void onTestNotificationInterface(TestNotificationInterface notif);
     }
 
-    public interface TestNotificationInterface extends Notification {
+    public interface TestNotificationInterface extends DataObject, Notification<TestNotificationInterface> {
         QName QNAME = QName.create("test", "test");
     }
 }
\ No newline at end of file