AbstractProxyTransaction implements Identifiable<TransactionIdentifier> { final void abort() { checkNotSealed(); parent.abortTransaction(this); sendRequest(abortRequest(), resp -> { LOG.debug("Transaction {} abort completed with {}", getIdentifier(), resp); enqueuePurge(); }); } AbstractProxyTransaction(final ProxyHistory parent, final boolean isDone); @Override final String toString();  }
@Test public void testAbortVotingFuture() { testRequestResponse(f -> transaction.abort(f), TransactionAbortRequest.class, TransactionAbortSuccess::new); }