AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { final long nextTx() { return NEXT_TX_UPDATER.getAndIncrement(this); } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); @Override LocalHistoryIdentifier getIdentifier(); ClientTransaction createTransaction(); ClientSnapshot takeSnapshot();  }
@Test public void testNextTx() { Assert.assertTrue(object().nextTx() + 1 == object().nextTx()); }