Deprecate public InstanceIdentifierContext
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / controller / sal / restconf / impl / nn / to / xml / test / NnToXmlWithDataFromSeveralModulesTest.java
index ab7bc38fac3c49af86ea07acb0393f88cbb21b37..270e649c6c3cc85a7f6bf643238278e3bb19965f 100644 (file)
@@ -108,7 +108,7 @@ public class NnToXmlWithDataFromSeveralModulesTest extends
         dataContSchemaContNode.withChild(modul2.build());
 
         final NormalizedNodeContext testNormalizedNodeContext = new NormalizedNodeContext(
-                new InstanceIdentifierContext(null, schemaContext, null, schemaContext),
+                InstanceIdentifierContext.ofLocalRoot(schemaContext),
                 dataContSchemaContNode.build());
 
         return testNormalizedNodeContext;