Decouple config and netconf subsystems.
[controller.git] / opendaylight / netconf / netconf-util / src / test / java / org / opendaylight / controller / netconf / util / messages / SendErrorExceptionUtilTest.java
index 20287741b9fd57532a8fb4007ae320c517f34540..f98e6d9840e525cb187af32051d8b932a7e7e78f 100644 (file)
@@ -19,7 +19,7 @@ import io.netty.channel.ChannelFuture;
 import io.netty.util.concurrent.GenericFutureListener;
 import org.junit.Before;
 import org.junit.Test;
-import org.opendaylight.controller.netconf.api.NetconfDocumentedException;
+import org.opendaylight.controller.config.util.xml.DocumentedException;
 import org.opendaylight.controller.netconf.api.NetconfMessage;
 import org.opendaylight.controller.netconf.api.NetconfSession;
 import org.opendaylight.controller.netconf.util.test.XmlFileLoader;
@@ -30,7 +30,7 @@ public class SendErrorExceptionUtilTest {
     NetconfSession netconfSession;
     ChannelFuture channelFuture;
     Channel channel;
-    private NetconfDocumentedException exception;
+    private DocumentedException exception;
 
     @Before
     public void setUp() throws Exception {
@@ -40,7 +40,7 @@ public class SendErrorExceptionUtilTest {
         doReturn(channelFuture).when(netconfSession).sendMessage(any(NetconfMessage.class));
         doReturn(channelFuture).when(channelFuture).addListener(any(GenericFutureListener.class));
         doReturn(channelFuture).when(channel).writeAndFlush(any(NetconfMessage.class));
-        exception = new NetconfDocumentedException("err");
+        exception = new DocumentedException("err");
     }
 
     @Test