### Question:
CypherProxyController { @RequestMapping(value = "/shortestPathsBetweenTaxon/{startTaxon}/andTaxon/{endTaxon}", method = RequestMethod.GET) @ResponseBody public CypherQuery findShortestPathsNew(HttpServletRequest request, @PathVariable("startTaxon") final String startTaxon, @PathVariable("endTaxon") final String endTaxon) throws IOException { CypherQuery cypherQuery = CypherQueryBuilder.shortestPathQuery(startTaxon, endTaxon); return CypherQueryBuilder.createPagedQuery(request, cypherQuery); }  @RequestMapping(value = "/locations", method = RequestMethod.GET) @ResponseBody CypherQuery locationsNew(HttpServletRequest request); @RequestMapping(value = "/findExternalUrlForTaxon/{taxonName}", method = RequestMethod.GET, produces = "application/json") @ResponseBody String findExternalLinkForTaxonWithName(HttpServletRequest request, @PathVariable("taxonName") String taxonName); @RequestMapping(value = "/findExternalUrlForStudy/{studyTitle}", method = RequestMethod.GET, produces = "application/json") @ResponseBody String findExternalLinkForStudyWithTitle(HttpServletRequest request, @PathVariable("studyTitle") String taxonName); @RequestMapping(value = "/findExternalIdForTaxon/{taxonName}", method = RequestMethod.GET) @ResponseBody CypherQuery findExternalIdForTaxonNew(HttpServletRequest request, @PathVariable("taxonName") final String taxonName); @RequestMapping(value = "/findExternalIdForStudy/{studyTitle}", method = RequestMethod.GET) @ResponseBody CypherQuery findExternalIdForStudyNew(HttpServletRequest request, @PathVariable("studyTitle") final String studyTitle); @RequestMapping(value = "/findExternalUrlForExternalId/{externalId}", method = RequestMethod.GET, produces = "application/json") @ResponseBody String findExternalLinkForExternalId(@PathVariable("externalId") String externalId); @RequestMapping(value = "/shortestPathsBetweenTaxon/{startTaxon}/andTaxon/{endTaxon}", method = RequestMethod.GET) @ResponseBody CypherQuery findShortestPathsNew(HttpServletRequest request, @PathVariable("startTaxon") final String startTaxon,
                                            @PathVariable("endTaxon") final String endTaxon);  }### Answer:
@Test public void findShortestPaths() throws IOException { CypherQuery cypherQuery = new CypherProxyController().findShortestPathsNew(null, "Homo sapiens", "Rattus rattus"); String externalLink = new CypherQueryExecutor(cypherQuery).execute(null); assertThat(externalLink, CoreMatchers.containsString("Rattus rattus")); }