### Question:
RdapQueryClient extends RdapClient { public EntityDto searchEntityByHandle(String handle) throws RdapClientException { return search(EntityDto.class, "handle", handle, SearchUri.ENTITY); } RdapQueryClient(RdapClientConfig config); IpDto queryIp(String address); IpDto queryIp(String cidrPrefix, int cidrLength); DomainDto queryDomain(String name); NameserverDto queryNameserver(String name); AutnumDto queryAutnum(long autnum); EntityDto queryEntity(String handle); DomainDto searchDomainByName(String name); DomainDto searchDomainByNsLdhName(String nsLdhName); DomainDto searchDomainByNsIp(String nsIp); NameserverDto searchNameserverByName(String name); NameserverDto searchNameserverByIp(String ip); EntityDto searchEntityByFn(String name); EntityDto searchEntityByHandle(String handle); Help help();  }### Answer:
@Test public void test_searchEntityByHandle(){ EntityDto entity; try { setContent200("entity"); entity = client.searchEntityByHandle("entity-1"); } catch (RdapClientException e) { entity = null; } assertEquals("/entities?handle=entity-1", mockHttpServer.getRequestUrl()); assertEquals("entity-1", entity.getHandle()); }