import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
-import java.net.URI;
import org.junit.Test;
import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.common.QNameModule;
+import org.opendaylight.yangtools.yang.common.XMLNamespace;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
public class DOMDataTreeIdentifierTest {
private static final String TEST_LISTS = "test-lists";
private static final String COMPARE_FIRST_LISTS = "A-test-lists";
private static final String COMPARE_SECOND_LISTS = "B-test-lists";
- private static final QNameModule TEST_MODULE = QNameModule.create(URI.create(
+ private static final QNameModule TEST_MODULE = QNameModule.create(XMLNamespace.of(
"urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:store"));
private static final YangInstanceIdentifier REF_YII_IID = YangInstanceIdentifier.create(
new YangInstanceIdentifier.NodeIdentifier(QName.create(TEST_MODULE, REF_LISTS)));