Reconstruct inference stack during normalization
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / java / org / opendaylight / restconf / nb / rfc8040 / rests / services / impl / CreateStreamUtilTest.java
index f1c79df595b15794bd1c57a452b576b8750f879a..d428819833619b98612c9d07656ee4fc41d25aa4 100644 (file)
@@ -123,7 +123,7 @@ public class CreateStreamUtilTest {
                 .withValue(o).build();
         container.withChild(lfNode);
 
-        return NormalizedNodePayload.of(new InstanceIdentifierContext(null, rpcInputSchemaNode, null, SCHEMA_CTX),
-                container.build());
+        return NormalizedNodePayload.of(
+            InstanceIdentifierContext.ofDataSchemaNode(SCHEMA_CTX, rpcInputSchemaNode, null), container.build());
     }
 }