private static ContainerNode getEmptyTop() {
return ImmutableContainerNodeBuilder.create()
.withNodeIdentifier(new NodeIdentifier(TOP_QNAME))
- .build();
+ .withChild(mapNodeBuilder(TOP_LEVEL_LIST_QNAME).build()).build();
}
private static final QName AGUMENT_STRING_Q = QName.create(TOP_QNAME, "augmented-string");
for (Entry<Class<? extends Augmentation<Top>>, ? extends Augmentation<Top>> augment : augments.entrySet()) {
topBuilder.addAugmentation(augment.getKey(), augment.getValue());
}
- return topBuilder.setTopLevelList(Collections.emptyList()).build();
+ return topBuilder.setTopLevelList(Collections.emptyMap()).build();
}
@Test