ClientBackedWriteTransaction extends ClientBackedTransaction<ClientTransaction> implements DOMStoreWriteTransaction { @Override public final void write(final YangInstanceIdentifier path, final NormalizedNode<?, ?> data) { delegate().write(path, data); } ClientBackedWriteTransaction(final ClientTransaction delegate, final @Nullable Throwable allocationContext); @Override final void write(final YangInstanceIdentifier path, final NormalizedNode<?, ?> data); @Override final void merge(final YangInstanceIdentifier path, final NormalizedNode<?, ?> data); @Override final void delete(final YangInstanceIdentifier path); @Override final DOMStoreThreePhaseCommitCohort ready();  }
@Test public void testWrite() { object().write(path, data); Mockito.verify(delegate).write(path, data); }