### Question:
UriBuilder { public static UriBuilder fromUri(URI baseUri) { return new ApacheUriBuilder(baseUri); }  static UriBuilder fromUri(URI baseUri); static UriBuilder fromUri(String baseUri); abstract UriBuilder queryParam(String name, String value); abstract UriBuilder renameQueryParam(String currentName, String newName); abstract URI build();  }### Answer:
@Test void stringUriMustBeValid() { assertThrows(IllegalArgumentException.class, () -> UriBuilder.fromUri("http: }