dataTree.validate(modification);
final DataTreeCandidate candidate = dataTree.prepare(modification);
- assertEquals(YangInstanceIdentifier.empty(), candidate.getRootPath());
+ assertEquals(YangInstanceIdentifier.of(), candidate.getRootPath());
final DataTreeCandidateNode node = candidate.getRootNode();
assertEquals(ModificationType.UNMODIFIED, node.getModificationType());
// The entire transaction needs to fizzle to a no-op
final DataTreeCandidate candidate = dataTree.prepare(modification);
- assertEquals(YangInstanceIdentifier.empty(), candidate.getRootPath());
+ assertEquals(YangInstanceIdentifier.of(), candidate.getRootPath());
final DataTreeCandidateNode node = candidate.getRootNode();
assertEquals(ModificationType.UNMODIFIED, node.getModificationType());