CustomPortApplicationLinksGenerator implements ApplicationLinksGenerator { @Override public String createApplicationLink(String workspace, String project, String user, int port) { return String.format(applicationLinkTemplate, port); } @Inject  CustomPortApplicationLinksGenerator(@Named("runner.docker.application_link_template") String applicationLinkTemplate,
                                               @Named("runner.docker.web_shell_link_template") String webShellLinkTemplate); @Override String createApplicationLink(String workspace, String project, String user, int port); @Override String createWebShellLink(String workspace, String project, String user, int port);  }
@Test public void testApplicationLink() { Assert.assertEquals("http: }