AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { final AbstractProxyTransaction createSnapshotProxy(final TransactionIdentifier transactionId, final Long shard) { return ensureHistoryProxy(transactionId, shard).createTransactionProxy(transactionId, true); } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); @Override LocalHistoryIdentifier getIdentifier(); ClientTransaction createTransaction(); ClientSnapshot takeSnapshot();  }
@Test public void testCreateSnapshotProxy() { final AbstractProxyTransaction snapshotProxy = object().createSnapshotProxy(TRANSACTION_ID, 0L); Assert.assertNotNull(snapshotProxy); Assert.assertNotEquals(TRANSACTION_ID, snapshotProxy.getIdentifier()); }