@Test // SPR-10779
 public void fromHttpUrlStringCaseInsesitiveScheme() {
   assertEquals(
       "http", UriComponentsBuilder.fromHttpUrl("HTTP://www.google.com").build().getScheme());
   assertEquals(
       "https", UriComponentsBuilder.fromHttpUrl("HTTPS://www.google.com").build().getScheme());
 }
 @Test(expected = IllegalArgumentException.class) // SPR-10539
 public void fromHttpUrlStringInvalidIPv6Host() throws URISyntaxException {
   UriComponentsBuilder.fromHttpUrl("http://[1abc:2abc:3abc::5ABC:6abc:8080/resource")
       .build()
       .encode();
 }