### Question:
ReportController { @RequestMapping(value = "/source/{org}/{name}", method = RequestMethod.GET) @ResponseBody public CypherQuery sourceOrgName( @PathVariable("org") final String org, @PathVariable("name") final String name, final HttpServletRequest request) throws IOException { return datasetQuery(request, "namespace", org + "/" + name); }  @RequestMapping(value = "/reports/studies", method = RequestMethod.GET) @ResponseBody CypherQuery studies(@RequestParam(required = false) final String source, final HttpServletRequest request); @RequestMapping(value = "/dataset", method = RequestMethod.GET) @ResponseBody CypherQuery dataset(final HttpServletRequest request); @RequestMapping(value = "/source", method = RequestMethod.GET) @ResponseBody CypherQuery sourceRoot(final HttpServletRequest request); @RequestMapping(value = "/source/{org}", method = RequestMethod.GET) @ResponseBody CypherQuery sourceOrg(
        @PathVariable("org") final String org,
        final HttpServletRequest request); @RequestMapping(value = "/source/{org}/{name}", method = RequestMethod.GET) @ResponseBody CypherQuery sourceOrgName(
        @PathVariable("org") final String org,
        @PathVariable("name") final String name,
        final HttpServletRequest request); @RequestMapping(value = "/reports/sources", method = RequestMethod.GET) @ResponseBody CypherQuery sources(@RequestParam(required = false) final String sourceId,
                               final HttpServletRequest request); @RequestMapping(value = "/reports/collections", method = RequestMethod.GET) @ResponseBody CypherQuery collections();  }### Answer:
@Test public void distinctSourceOrgName() throws IOException { CypherQuery source = new ReportController().sourceOrgName("some", "name", null); assertThat(source.getVersionedQuery(), is(CYPHER_VERSION + "START " + "dataset = node:datasets(namespace={namespace}), " + "report = node:reports('sourceId:*') " + "WHERE ('globi:' + dataset.namespace) = report.sourceId " + "RETURN report.citation as study_citation, report.externalId as study_url, report.doi as study_doi, dataset.citation as study_source_citation, report.nInteractions as number_of_interactions, report.nTaxa as number_of_distinct_taxa, report.nStudies as number_of_studies, report.nSources as number_of_sources, report.nTaxaNoMatch as number_of_distinct_taxa_no_match, report.sourceId as study_source_id, dataset.doi as study_source_doi, dataset.format as study_source_format, dataset.archiveURI as study_source_archive_uri, dataset.lastSeenAt as study_source_last_seen_at SKIP 0 LIMIT 1024")); assertThat(source.getParams().get("namespace"), is("some/name")); CypherTestUtil.validate(source); }