AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { final Long resolveShardForPath(final YangInstanceIdentifier path) { return client.resolveShardForPath(path); } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); @Override LocalHistoryIdentifier getIdentifier(); ClientTransaction createTransaction(); ClientSnapshot takeSnapshot();  }
@Test public void testResolveShardForPath() { final Long shardForPath = object().resolveShardForPath(YangInstanceIdentifier.empty()); Assert.assertEquals(0L, shardForPath.longValue()); }