InmemoryDOMDataTreeShardWriteTransaction implements DOMDataTreeShardWriteTransaction, Identifiable<String> { public boolean isFinished() { return finished; } InmemoryDOMDataTreeShardWriteTransaction(final InMemoryDOMDataTreeShardProducer producer,
                                             final ShardDataModification root,
                                             final DataTree rootShardDataTree,
                                             final InMemoryDOMDataTreeShardChangePublisher changePublisher,
                                             final ListeningExecutorService executor); @Override String getIdentifier(); @Override void close(); boolean isFinished(); @Override void ready(); @Override ListenableFuture<Void> submit(); @Override ListenableFuture<Boolean> validate(); @Override ListenableFuture<Void> prepare(); @Override ListenableFuture<Void> commit(); @Override DOMDataTreeWriteCursor createCursor(final DOMDataTreeIdentifier prefix);  }
@Test public void isFinished() throws Exception { assertFalse(inmemoryDOMDataTreeShardWriteTransaction.isFinished()); inmemoryDOMDataTreeShardWriteTransaction.ready(); assertTrue(inmemoryDOMDataTreeShardWriteTransaction.isFinished()); }