@Test
public void testGetNameOwnerWithHeight() throws Exception {

  // given
  final AccountTemplate accountTemplate = new AccountTemplate(contextStorage);
  final Requester mockRequester = mock(Requester.class);
  final AccountAddress expected = AccountAddress.EMPTY;
  when(mockRequester.request(ArgumentMatchers.<Invocation<?>>any()))
      .thenReturn(expected);
  accountTemplate.requester = mockRequester;
  // then
  assertEquals(expected, accountTemplate.getNameOwner(randomUUID().toString(), anyHeight));
  assertEquals(expected, accountTemplate.getNameOwner(anyName, anyHeight));
}