### Question:
StringUri { public static boolean isUri(String stringToCheck) { return stringToCheck.startsWith("/") || startsWithVersion(stringToCheck); } private  StringUri(); static String fromElements(Object... elements); static String withQuery(String uri, Map<String, ?> requestParams); static String withQuery(String uri, String paramName, String paramValue); static Map<String, String> getQueryParamsFromUri(String uri); static String decode(String url); static boolean isUri(String stringToCheck); static boolean containsProtocol(String urlToCheck); static boolean containsQueryParam(String uri, String paramName); static String appendQueryParam(String uri, String paramName, String paramValue); static String removeAllQueryParams(String uri); static Optional<String> getVersion(String uri); static String copyQueryParams(String sourceUri, String targetUri);  }### Answer:
@Test void isUriStartsWithSlash() { String uri = "/some/uri"; assertThat(StringUri.isUri(uri)).isTrue(); }
@Test void isUriStartsWithVersion() { String uri = "v2/some/uri"; assertThat(StringUri.isUri(uri)).isTrue(); }
@Test void isUriDoesNotStartWithVersionAndSlash() { String uri = "example.com"; assertThat(StringUri.isUri(uri)).isFalse(); }
@Test void isUriStartsWithProtocol() { String uri = "http: assertThat(StringUri.isUri(uri)).isFalse(); }