### Question:
Uri { public static Uri parse(String text) { try { return parser.parse(text); } catch (IllegalArgumentException e) { throw new UriException(e); } } Uri(UriBuilder builder); @Inject(optional = true) static void setUriParser(UriParser uriParser); static Uri parse(String text); static Uri fromJavaUri(URI uri); URI toJavaUri(); Uri resolve(Uri relative); boolean isAbsolute(); String getScheme(); String getAuthority(); String getPath(); String getQuery(); Map<String, List<String>> getQueryParameters(); Collection<String> getQueryParameters(String name); String getQueryParameter(String name); String getFragment(); Map<String, List<String>> getFragmentParameters(); Collection<String> getFragmentParameters(String name); String getFragmentParameter(String name); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void parseInvalidHost() { Uri.parse("http: }
@Test(expected = IllegalArgumentException.class) public void parseInvalidScheme() { Uri.parse("----: }
@Test(expected = IllegalArgumentException.class) public void parseInvalidPath() { Uri.parse("http: }