.setAction2(new PolicyLoggingFlag(false))
.setAction3(true)
.build();
- final Entry<YangInstanceIdentifier, NormalizedNode<?, ?>> dom =
+ final Entry<YangInstanceIdentifier, NormalizedNode> dom =
codecContext.toNormalizedNode(BA_DEFAULT_POLICY, binding);
final Entry<InstanceIdentifier<?>, DataObject> readed =
codecContext.fromNormalizedNode(dom.getKey(),dom.getValue());
@Test
public void testTypedefEmptyType() {
TestCont binding = new TestContBuilder()
- .setEmptyLeaf(Empty.getInstance())
- .setEmptyLeaf2(new TypedefEmpty(Empty.getInstance()))
- .setEmptyLeaf3(Empty.getInstance())
+ .setEmptyLeaf(Empty.value())
+ .setEmptyLeaf2(new TypedefEmpty(Empty.value()))
+ .setEmptyLeaf3(Empty.value())
.build();
- final Entry<YangInstanceIdentifier, NormalizedNode<?, ?>> dom =
+ final Entry<YangInstanceIdentifier, NormalizedNode> dom =
codecContext.toNormalizedNode(BA_TEST_CONT, binding);
final Entry<InstanceIdentifier<?>, DataObject> readed =
codecContext.fromNormalizedNode(dom.getKey(),dom.getValue());