@Test
public void testGetChainIdHash() {

  // given
  final BlockchainOperation mockOperation = mock(BlockchainOperation.class);
  when(mockOperation.getBlockchainStatus())
      .thenReturn(BlockchainStatus.newBuilder().build());
  final AergoClient mockClient = mock(AergoClient.class);
  when(mockClient.getBlockchainOperation()).thenReturn(mockOperation);
  final ClientProvider mockClientProvider = mock(ClientProvider.class);
  when(mockClientProvider.getClient()).thenReturn(mockClient);
  // then
  final QueryApi queryApi = new QueryApiImpl(mockClientProvider);
  final ChainIdHash chainIdHash = queryApi.getChainIdHash();
  assertNotNull(chainIdHash);
}