BambooUrlBuilder { String getResultsUrl(String planKey) { return build("/result/" + planKey); } BambooUrlBuilder(String bambooUrl);   }
@Test public void should_build_latest_result_url() { String expectedUrl = "http: assertEquals(expectedUrl, builder.getResultsUrl("STRUTS-STRUTS")); }