HudsonUrlBuilder { public String getTestResultUrl(String jobName, int buildNumber) { return hudsonUrl + JOB_URI + "/" + encode(jobName) + "/" + buildNumber + "/testReport" + 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_test_url() { String testUrl = hudsonUrlBuilder.getTestResultUrl("struts", 5); assertEquals("http: }