@Test
void uriComponent() {

    assertThat(Encodings.uriComponent("✓")).as("encode utf-8").isEqualTo("%E2%9C%93");
    assertThat(Encodings.uriComponent("a b")).isEqualTo("a%20b");
    assertThat(Encodings.uriComponent("a+b")).isEqualTo("a%2Bb");
    assertThat(Encodings.uriComponent("a=b")).isEqualTo("a%3Db");
    assertThat(Encodings.uriComponent("a?b")).isEqualTo("a%3Fb");
    assertThat(Encodings.uriComponent("a/b")).isEqualTo("a%2Fb");
    assertThat(Encodings.uriComponent("a&b")).isEqualTo("a%26b");
    assertThat(Encodings.uriComponent("a%b")).isEqualTo("a%25b");
}