### Question:
Urls { @Nonnull public static URI createURI(@Nonnull String fullUrl) { String escaped = escape(fullUrl); try { return new URI(escaped); } catch (URISyntaxException e) { throw new AssertionError(e); } } private  Urls(); @Nonnull static URI createURI(@Nonnull String fullUrl); @Nonnull static String escape(@Nonnull String url); static UrlBuilder http(String host); static UrlBuilder https(String host); @Nonnull static Url parse(String url);  }### Answer:
@Test public void createURI() { assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("https: assertEquals("https: assertEquals("https: assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("http: }
@Test public void createURIHost() { String expected = "http: String input = "http: assertEquals(expected, Urls.createURI(input).toString()); assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("http: assertEquals("http: }
@Test public void createURIBackSlashes() { assertEquals("http: Urls.createURI("http:\\\\host\\path\\?q=\\#\\").toString()); }
@Test public void createURIPort() { assertEquals("http: }
@Test public void createURIPath() { assertEquals("http: assertEquals("http: }