()
| 644 | } |
| 645 | |
| 646 | @Test |
| 647 | public void builder_setRawFragment() { |
| 648 | Uri uri = Uri.newBuilder().setScheme("http").setHost("host").setRawFragment("a%20b").build(); |
| 649 | assertThat(uri.getRawFragment()).isEqualTo("a%20b"); |
| 650 | assertThat(uri.getFragment()).isEqualTo("a b"); |
| 651 | assertThat(uri.toString()).isEqualTo("http://host#a%20b"); |
| 652 | } |
| 653 | |
| 654 | @Test |
| 655 | public void builder_setRawFragment_null() { |
nothing calls this directly
no test coverage detected