Add Empty.value()
[yangtools.git] / codec / yang-data-codec-gson / src / test / java / org / opendaylight / yangtools / yang / data / codec / gson / AbstractComplexJsonTest.java
index 3c1a8bb9580fb8f5e9cca3ec0fb5d4d3ea48c95d..a8815f56ff5e81e016b06315f61a9b5c433d776b 100644 (file)
@@ -24,7 +24,7 @@ public abstract class AbstractComplexJsonTest {
 
     static final ContainerNode CONT1_WITH_EMPTYLEAF = Builders.containerBuilder()
             .withNodeIdentifier(new NodeIdentifier(CONT_1))
-            .addChild(ImmutableNodes.leafNode(EMPTY_LEAF, Empty.getInstance()))
+            .addChild(ImmutableNodes.leafNode(EMPTY_LEAF, Empty.value()))
             .build();
 
     static EffectiveModelContext schemaContext;