Get rid of netconf-tcp project
[netconf.git] / netconf / netconf-notifications-impl / src / test / java / org / opendaylight / netconf / notifications / impl / ops / GetTest.java
index 0abf5cbf9c8a644e9241573d998d7026c5847c3f..0a7aa6d7e5eb45fa2e8ecf6caf3a49ae03969a1a 100644 (file)
@@ -11,7 +11,7 @@ package org.opendaylight.netconf.notifications.impl.ops;
 import com.google.common.collect.Lists;
 import java.io.IOException;
 import org.junit.Test;
-import org.opendaylight.controller.config.util.xml.XmlUtil;
+import org.opendaylight.netconf.api.xml.XmlUtil;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.StreamNameType;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.netconf.Streams;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.netconf.StreamsBuilder;
@@ -28,7 +28,7 @@ public class GetTest {
         final StreamBuilder streamBuilder = new StreamBuilder();
         final StreamNameType base = new StreamNameType("base");
         streamBuilder.setName(base);
-        streamBuilder.setKey(new StreamKey(base));
+        streamBuilder.withKey(new StreamKey(base));
         streamBuilder.setDescription("description");
         streamBuilder.setReplaySupport(false);
         streamsBuilder.setStream(Lists.newArrayList(streamBuilder.build()));
@@ -60,4 +60,4 @@ public class GetTest {
                 + "</data>\n"
                 + "</rpc-reply>");
     }
-}
\ No newline at end of file
+}