X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fyang-binding%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fbinding%2Futil%2FNotificationListenerInvokerTest.java;h=5581c8fbf0fc28fdd403031fa7691def535b18fd;hb=8d19626640b8f6cab9ed3e0f9908fa3c416956e5;hp=7689bc643e2aea7dbf9a64f57f91ac3de93553b7;hpb=0ae97da04041d6cb57b07391325fabdf73271d38;p=mdsal.git diff --git a/binding/yang-binding/src/test/java/org/opendaylight/yangtools/yang/binding/util/NotificationListenerInvokerTest.java b/binding/yang-binding/src/test/java/org/opendaylight/yangtools/yang/binding/util/NotificationListenerInvokerTest.java index 7689bc643e..5581c8fbf0 100644 --- a/binding/yang-binding/src/test/java/org/opendaylight/yangtools/yang/binding/util/NotificationListenerInvokerTest.java +++ b/binding/yang-binding/src/test/java/org/opendaylight/yangtools/yang/binding/util/NotificationListenerInvokerTest.java @@ -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