import org.opendaylight.netconf.mapping.api.NetconfOperation;
import org.opendaylight.netconf.mapping.api.NetconfOperationChainedExecution;
import org.opendaylight.netconf.mapping.api.NetconfOperationService;
+import org.opendaylight.yangtools.yang.common.ErrorTag;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
public void testOnNetconfMessageFail() throws Exception {
final DocumentedException ex = assertThrows(DocumentedException.class,
() -> emptyOperationRouter.onNetconfMessage(TEST_RPC_DOC, null));
- assertEquals(DocumentedException.ErrorTag.OPERATION_NOT_SUPPORTED, ex.getErrorTag());
+ assertEquals(ErrorTag.OPERATION_NOT_SUPPORTED, ex.getErrorTag());
}
@Test