Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / netconf / sal-netconf-connector / src / test / java / org / opendaylight / netconf / sal / connect / netconf / sal / NetconfDeviceNotificationServiceTest.java
index 5a2539635d9c205766da6a467f865457d7b27835..2324bceb878c9e17d01b51d02c99915410fd0ebd 100644 (file)
@@ -43,8 +43,8 @@ public class NetconfDeviceNotificationServiceTest {
     @Before
     public void setUp() throws Exception {
         MockitoAnnotations.initMocks(this);
-        final SchemaPath path1 = SchemaPath.create(true, new QName(new URI("namespace1"), "path1"));
-        final SchemaPath path2 = SchemaPath.create(true, new QName(new URI("namespace2"), "path2"));
+        final SchemaPath path1 = SchemaPath.create(true, QName.create(new URI("namespace1"), "path1"));
+        final SchemaPath path2 = SchemaPath.create(true, QName.create(new URI("namespace2"), "path2"));
         service = new NetconfDeviceNotificationService();
         service.registerNotificationListener(listener1, path1);
         registration = service.registerNotificationListener(listener2, path2);