@Test
public void testCaseWithLeafReferencesType() {
final TreeComplexLeaves binding = new TreeComplexLeavesBuilder()
- .setIdentity(ThirdParty.class)
- .setIdentityRef(ThirdParty.class)
+ .setIdentity(ThirdParty.VALUE)
+ .setIdentityRef(ThirdParty.VALUE)
.setSimpleType(10)
.setSimpleTypeRef(10)
.setSchemaUnawareUnion(new Int32StringUnion("foo"))
.setSchemaUnawareUnionRef(new Int32StringUnion(10))
.build();
- final Entry<YangInstanceIdentifier, NormalizedNode<?, ?>> dom = codecContext.toNormalizedNode(BA_TOP_LEVEL_LIST,
+ final Entry<YangInstanceIdentifier, NormalizedNode> dom = codecContext.toNormalizedNode(BA_TOP_LEVEL_LIST,
binding);
final Entry<InstanceIdentifier<?>, DataObject> readed = codecContext.fromNormalizedNode(dom.getKey(),
dom.getValue());