### Question:
AAIQueryClient extends GraphInventoryQueryClient<AAIQueryClient, CustomQuery, AAIResultWrapper, AAIObjectType> { @Override protected GraphInventoryUri setupQueryParams(GraphInventoryUri uri) { return super.setupQueryParams(uri); } AAIQueryClient();  AAIQueryClient(AAIVersion version); @Override AAIResultWrapper createWrapper(String json); @Override AAIObjectType createType(String name, String uri);  }### Answer:
@Test public void testCreateClient() { String depth = "testDepth"; GraphInventorySubgraphType subgraph = GraphInventorySubgraphType.STAR; aaiQueryClient.depth(depth); aaiQueryClient.nodesOnly(); aaiQueryClient.subgraph(subgraph); AAIResourceUri aaiUri = spy(AAIUriFactory.createResourceUri(AAIObjectType.CUSTOM_QUERY)); doReturn(aaiUri).when(aaiUri).clone(); aaiQueryClient.setupQueryParams(aaiUri); verify(aaiUri, times(1)).queryParam("depth", depth); verify(aaiUri, times(1)).queryParam("nodesOnly", ""); verify(aaiUri, times(1)).queryParam("subgraph", subgraph.toString()); }