ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ProxyHistory createHistoryProxy(final LocalHistoryIdentifier historyId, final AbstractClientConnection<ShardBackendInfo> connection) { return ProxyHistory.createClient(this, connection, historyId); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); @Override void close();  }
@Override @Test public void testCreateHistoryProxy() { final AbstractClientConnection<ShardBackendInfo> clientConnection = behavior.getConnection(0L); final ProxyHistory historyProxy = object().createHistoryProxy(HISTORY_ID, clientConnection); Assert.assertEquals(object().getIdentifier(), historyProxy.getIdentifier()); }