### Question:
UrlUtil { public static String trimHttpInUrl(String url) { if(StringUtils.isBlank(url)) { return ""; } if(StringUtils.startsWithIgnoreCase(url, "http:")) { return url.substring("http:".length()); } return url; }  static String trimHttpInUrl(String url);  }### Answer:
@Test public void testTrimHttpInUrl() { assertThat(UrlUtil.trimHttpInUrl(null)).isEmpty(); assertThat(UrlUtil.trimHttpInUrl("")).isEmpty(); assertThat(UrlUtil.trimHttpInUrl("http: assertThat(UrlUtil.trimHttpInUrl("https: }