@Test
    @DisabledOnOs(OS.WINDOWS)
    void domainSocketKeyGeneration() {
        final String expectedKey = "unix%3A%2Fvar%2Frun%2Ffoo.sock";
        assertThat(SessionProtocolNegotiationCache.key(
                Endpoint.of("unix%3A%2Fvar%2Frun%2Ffoo.sock"), SessionProtocol.H1C))
                .isEqualTo(expectedKey);
        assertThat(SessionProtocolNegotiationCache.key(
                DomainSocketAddress.of(Paths.get("/var/run/foo.sock"))))
                .isEqualTo(expectedKey);
        assertThat(SessionProtocolNegotiationCache.key(
                new io.netty.channel.unix.DomainSocketAddress("/var/run/foo.sock")))
                .isEqualTo(expectedKey);
    }
Makes sure the cache keys created via different paths are the same.
core/src/test/java/com/linecorp/armeria/client/SessionProtocolNegotiationCacheTest.java