@Test
public void testGetTxReceipt() throws Exception {

  // given
  final TransactionTemplate transactionTemplate = new TransactionTemplate(contextStorage);
  final Requester mockRequester = mock(Requester.class);
  final TxReceipt expected = TxReceipt.newBuilder().build();
  when(mockRequester.request(ArgumentMatchers.<Invocation<?>>any()))
      .thenReturn(expected);
  transactionTemplate.requester = mockRequester;
  // then
  final TxReceipt actual = transactionTemplate.getTxReceipt(anyTxHash);
  assertEquals(expected, actual);
}