@Test
public void testGetContractInterface() throws Exception {

  // given
  final ContractTemplate contractTemplate = new ContractTemplate(contextStorage);
  final Requester mockRequester = mock(Requester.class);
  final ContractInterface expected = mock(ContractInterface.class);
  when(mockRequester.request(ArgumentMatchers.<Invocation<?>>any()))
      .thenReturn(expected);
  contractTemplate.requester = mockRequester;
  // then
  final ContractInterface actual = contractTemplate.getContractInterface(anyContractAddress);
  assertEquals(expected, actual);
}