@Test public void linksAtNoSpecificTab() { assertThat(subject.apply(new DummyProfile("geneId", "geneName")).toString(), endsWith("geneId")); }
@Override public URI apply(P profile) { try { return new URI("genes/" + profile.getId()); } catch (URISyntaxException e) { throw new RuntimeException(e); } }
LinkToGene implements Function<P, URI> { @Override public URI apply(P profile) { try { return new URI("genes/" + profile.getId()); } catch (URISyntaxException e) { throw new RuntimeException(e); } } }
LinkToGene implements Function<P, URI> { @Override public URI apply(P profile) { try { return new URI("genes/" + profile.getId()); } catch (URISyntaxException e) { throw new RuntimeException(e); } }  }
LinkToGene implements Function<P, URI> { @Override public URI apply(P profile) { try { return new URI("genes/" + profile.getId()); } catch (URISyntaxException e) { throw new RuntimeException(e); } }  @Override URI apply(P profile); }
LinkToGene implements Function<P, URI> { @Override public URI apply(P profile) { try { return new URI("genes/" + profile.getId()); } catch (URISyntaxException e) { throw new RuntimeException(e); } }  @Override URI apply(P profile);  }