Adjust to yangtools-2.0.0 changes
[mdsal.git] / binding / yang-binding / src / test / java / org / opendaylight / yangtools / yang / binding / util / NotificationListenerInvokerTest.java
index 7689bc643e2aea7dbf9a64f57f91ac3de93553b7..5581c8fbf0fc28fdd403031fa7691def535b18fd 100644 (file)
@@ -44,23 +44,23 @@ public class NotificationListenerInvokerTest {
         final NotificationListener notificationListener = mock(NotificationListener.class);
         final MethodHandle methodHandle = mock(MethodHandle.class);
         final NotificationListenerInvoker notificationListenerInvoker =
-                new NotificationListenerInvoker(ImmutableMap.of(QName.create("test"), methodHandle));
+                new NotificationListenerInvoker(ImmutableMap.of(QName.create("test", "test"), methodHandle));
 
-        notificationListenerInvoker.invokeNotification(notificationListener, QName.create("test"), null);
+        notificationListenerInvoker.invokeNotification(notificationListener, QName.create("test", "test"), null);
         fail("Expected WrongMethodTypeException, no method to invoke is supplied");
     }
 
     public interface TestInterface extends NotificationListener, Augmentation {
-        QName QNAME = QName.create("test");
+        QName QNAME = QName.create("test", "test");
         void onTestNotificationInterface(TestNotificationInterface notif);
     }
 
     private interface TestPrivateInterface extends NotificationListener, Augmentation {
-        QName QNAME = QName.create("test");
+        QName QNAME = QName.create("test", "test");
         void onTestNotificationInterface(TestNotificationInterface notif);
     }
 
     private interface TestNotificationInterface extends Notification {
-        QName QNAME = QName.create("test");
+        QName QNAME = QName.create("test", "test");
     }
 }
\ No newline at end of file