queryHandler, gsonBuilder, urlPaths, queryPath, null);
ResourceQueryClient<Employee, QueryEmployeeByName> queryClient =
new ResourceQueryClient<Employee, QueryEmployeeByName>(
stub, queryPath, QueryEmployeeByName.class, gsonBuilder, Employee.class, false);
QueryEmployeeByName queryByName = new QueryEmployeeByName("foo");
List<Employee> results = queryClient.query(queryByName, new WebContext());
assertEquals(2, results.size());
for (Employee employee : results) {
assertEquals("foo", employee.getName());
}