### Question:
UrlBuilder { public String build() { if (!parameters.isEmpty()) { uriBuilder.setParameters(parameters); } return uriBuilder.toString(); } UrlBuilder(final String urlString); void appendParameter(final String key, final String... values); void appendParameters(final Map<String, String[]> parameters); String build();  }### Answer:
@Test public void should_leave_path_unchanged() throws Exception { urlBuilder = new UrlBuilder("http: assertThat(urlBuilder.build()).isEqualTo("http: }
@Test public void should_leave_path_unchanged2() throws Exception { urlBuilder = new UrlBuilder("http: assertThat(urlBuilder.build()).isEqualTo("http: }
@Test public void should_leave_path_with_space_unchanged() throws Exception { urlBuilder = new UrlBuilder("http: assertThat(urlBuilder.build()).isEqualTo("http: }
@Test public void should_leave_URL_without_querystring_unchanged() throws Exception { urlBuilder = new UrlBuilder("http: assertThat(urlBuilder.build()).isEqualTo("http: }