@Test
public void testCacheChainIdHash() {

  // given
  final Context context = EmptyContext.getInstance()
      .withValue(GRPC_VALUE_CHAIN_ID_HASH_HOLDER, new ChainIdHashHolder());
  final ContextStorage<Context> contextStorage = new UnmodifiableContextStorage(context);
  final AergoClientImpl aergoClient = new AergoClientImpl(contextStorage);
  // then
  final ChainIdHash expected = ChainIdHash.of(BytesValue.EMPTY);
  aergoClient.cacheChainIdHash(expected);
  final ChainIdHash actual = aergoClient.getCachedChainIdHash();
  assertEquals(expected, actual);
}