ExperimentDesignFile extends CanStreamSupplier<E> { public static String makeUrl(String experimentAccession, String accessKey) { return ExternallyAvailableContentService.streamResourcesUrl( experimentAccession, accessKey, "experiment-design"); } private  ExperimentDesignFile(DataFileHub dataFileHub); @Override ExternallyAvailableContent.ContentType contentType(); static String makeUrl(String experimentAccession, String accessKey); Collection<ExternallyAvailableContent> get(final E experiment);  }
@Test public void buildsGoodURLs() { assertThat( ExperimentDesignFile.makeUrl("E-FOOBAR", "50m3-c0d3"), is(equalTo("experiments-content/E-FOOBAR/resources/experiment-design?accessKey=50m3-c0d3"))); }