SingleClientHistory extends AbstractClientHistory { @Override ClientTransaction doCreateTransaction() { final TransactionIdentifier txId = new TransactionIdentifier(getIdentifier(), nextTx()); LOG.debug("{}: creating a new transaction {}", this, txId); return new ClientTransaction(this, txId); } SingleClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier);   }
@Override @Test public void testDoCreateTransaction() { final ClientTransaction clientTransaction = object().doCreateTransaction(); Assert.assertEquals(object().getIdentifier(), clientTransaction.getIdentifier().getHistoryId()); }