Remove DocumentedException.ErrorType
[netconf.git] / netconf / netconf-topology-singleton / src / test / java / org / opendaylight / netconf / topology / singleton / impl / tx / ProxyReadWriteTransactionTest.java
index 3ec6f891163ee2b7f87bbf0b3f8c35198010f8a3..83f1dd9ae980d88941398f655abee0538037e284 100644 (file)
@@ -44,6 +44,7 @@ import org.opendaylight.netconf.topology.singleton.messages.transactions.PutRequ
 import org.opendaylight.netconf.topology.singleton.messages.transactions.ReadRequest;
 import org.opendaylight.netconf.topology.singleton.messages.transactions.SubmitRequest;
 import org.opendaylight.yangtools.yang.common.ErrorSeverity;
+import org.opendaylight.yangtools.yang.common.ErrorType;
 import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
@@ -403,6 +404,6 @@ public class ProxyReadWriteTransactionTest {
         final DocumentedException de = (DocumentedException) cause;
         assertEquals(ErrorSeverity.WARNING, de.getErrorSeverity());
         assertEquals(DocumentedException.ErrorTag.OPERATION_FAILED, de.getErrorTag());
-        assertEquals(DocumentedException.ErrorType.APPLICATION, de.getErrorType());
+        assertEquals(ErrorType.APPLICATION, de.getErrorType());
     }
 }