ClientTransactionCursor implements DOMDataTreeWriteCursor { @Override public void delete(final PathArgument child) { parent.delete(current.node(child)); } ClientTransactionCursor(final ClientTransaction parent); @Override void enter(final PathArgument child); @Override void enter(final PathArgument... path); @Override void enter(final Iterable<PathArgument> path); @Override void exit(); @Override void exit(final int depth); @Override void close(); @Override void delete(final PathArgument child); @Override void merge(final PathArgument child, final NormalizedNode<?, ?> data); @Override void write(final PathArgument child, final NormalizedNode<?, ?> data);  }
@Test public void testDelete() { cursor.delete(YangInstanceIdentifier.NodeIdentifier.create(NODE_1)); final YangInstanceIdentifier expected = createId(NODE_1); verify(transaction).delete(expected); }