ClientTransaction extends AbstractClientHandle<AbstractProxyTransaction> { public FluentFuture<Boolean> exists(final YangInstanceIdentifier path) { return ensureTransactionProxy(path).exists(path); } ClientTransaction(final AbstractClientHistory parent, final TransactionIdentifier transactionId); DOMDataTreeWriteCursor openCursor(); FluentFuture<Boolean> exists(final YangInstanceIdentifier path); FluentFuture<Optional<NormalizedNode<?, ?>>> read(final YangInstanceIdentifier path); void delete(final YangInstanceIdentifier path); void merge(final YangInstanceIdentifier path, final NormalizedNode<?, ?> data); void write(final YangInstanceIdentifier path, final NormalizedNode<?, ?> data); DOMStoreThreePhaseCommitCohort ready();  }
@Test public void testExists() throws Exception { final FluentFuture<Boolean> exists = getHandle().exists(PATH); verify(modification).readNode(PATH); assertEquals(Boolean.TRUE, getWithTimeout(exists)); }