HudsonUrlBuilder { public String getAllProjectsUrl() { return hudsonUrl + ALL_JOBS_URI + API_XML; } HudsonUrlBuilder(String hudsonUrl); String getTestResultUrl(String jobName, int buildNumber); String getPomUrl(String jobName); String getAllProjectsUrl(); String getJobUrl(String jobName); String getBuildUrl(String jobName, int buildNumber); String getUserUrl(String userName); String getViewUrl(String viewName);  }
@Test public void should_create_good_all_projects_url() { String testUrl = hudsonUrlBuilder.getAllProjectsUrl(); assertEquals("http: }