ClientBackedReadWriteTransaction extends ClientBackedWriteTransaction implements DOMStoreReadWriteTransaction { @Override public FluentFuture<Boolean> exists(final YangInstanceIdentifier path) { return delegate().exists(path); } ClientBackedReadWriteTransaction(final ClientTransaction delegate, final @Nullable Throwable allocationContext); @Override FluentFuture<Optional<NormalizedNode<?, ?>>> read(final YangInstanceIdentifier path); @Override FluentFuture<Boolean> exists(final YangInstanceIdentifier path);  }
@Test public void testExists() throws Exception { assertEquals(Boolean.TRUE, object().exists(YangInstanceIdentifier.empty()).get()); }