@ParameterizedTest
    @EnumSource(Mode.class)
    void testToString(Mode mode) {
        assertThat(parse(mode, "/").requestTarget).asString().isEqualTo("/");
        assertThat(parse(mode, "/?").requestTarget).asString().isEqualTo("/?");
        assertThat(parse(mode, "/?a=b").requestTarget).asString().isEqualTo("/?a=b");

        if (mode == Mode.CLIENT) {
            assertThat(forClient("/#").requestTarget).asString().isEqualTo("/#");
            assertThat(forClient("/?#").requestTarget).asString().isEqualTo("/?#");
            assertThat(forClient("/?a=b#c=d").requestTarget).asString().isEqualTo("/?a=b#c=d");
            assertThat(forClient("http://foo/bar?a=b#c=d").requestTarget).asString().isEqualTo("http://foo/bar?a=b#c=d");
        }
    }
{@link RequestTarget} treats the first `=` in a query parameter as `/` internally to simplify
the detection the logic. This test makes sure the `=` appeared later is not treated as `/`.
core/src/test/java/com/linecorp/armeria/internal/common/DefaultRequestTargetTest.java