()
| 461 | } |
| 462 | |
| 463 | @Test |
| 464 | public void builder_numericPort() throws URISyntaxException { |
| 465 | Uri uri = Uri.newBuilder().setScheme("scheme").setHost("host").setPort(80).build(); |
| 466 | assertThat(uri.toString()).isEqualTo("scheme://host:80"); |
| 467 | } |
| 468 | |
| 469 | @Test |
| 470 | public void builder_ipv6Literal() throws URISyntaxException { |