@Test
public void should_create_good_url_with_spaces() {

    String testUrl = hudsonUrlBuilder.getBuildUrl("struts 2", 7);
    assertEquals("http://ci.visuwall.awired.net/job/struts%202/7/api/xml", testUrl);
}