### Question:
URI { public boolean isHierarchical() { return !isOpaque(); } private  URI(java.net.URI delegate); String getScheme(); String getSchemeSpecificPart(); Authority getAuthority(); Path getPath(); String getQuery(); String getFragment(); boolean isOpaque(); boolean isAbsolute(); boolean isAuthoritative(); boolean isHierarchical(); boolean isRelative(); URI normalize(); URI resolve(URI target); URI relativize(URI uri); URL toURL(); URI withScheme(String scheme); URI withSchemeSpecificPart(String schemeSpecificPart); URI withAuthority(Authority authority); URI withPath(Path path); URI withQuery(String query); URI withFragment(String fragment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); String prettyPrint(); java.net.URI unwrap(); static URI wrap(java.net.URI delegate); static URI create(String string);  }### Answer:
@Test public void testIsHierarchical$hierarchical$relative() { assertThat(URI.create("a/b/c").isHierarchical(),equalTo(true)); }
@Test public void testIsHierarchical$hierarchical$absolute() { assertThat(existing.isHierarchical(),equalTo(true)); }
@Test public void testIsHierarchical$opaque() { assertThat(URI.create("scheme:a/b/c").isHierarchical(),equalTo(false)); }