Deprecate NodeIdentifierWithPredicates constructors
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / InstanceIdToNodesTest.java
index ca75650f941cc812f2eab59ac4cc6c89ccdca826..4b9373b9a5a8aef11010e4d79bfa4a0c4a8a5191 100644 (file)
@@ -42,7 +42,7 @@ public class InstanceIdToNodesTest {
 
     private final NodeIdentifier outerList = new NodeIdentifier(
             QName.create(NS, REVISION, "outer-list"));
-    private final NodeIdentifierWithPredicates outerListWithKey = new NodeIdentifierWithPredicates(
+    private final NodeIdentifierWithPredicates outerListWithKey = NodeIdentifierWithPredicates.of(
             QName.create(NS, REVISION, "outer-list"), ID, 1);
     private final NodeIdentifier choice = new NodeIdentifier(QName.create(NS, REVISION, "outer-choice"));
     private final NodeIdentifier leafFromCase = new NodeIdentifier(QName.create(NS, REVISION, "one"));