@Override
    String getDescription() {
        return "tcp [" + host + ":" + port + "]";
    }
@Test
    void testGetDescription() throws IOException {
        try (ServerSocket ss = new ServerSocket(0); ResilientSocketOutputStream resilientSocketOutputStream = new ResilientSocketOutputStream("localhost", ss.getLocalPort(),
            1024, 500, SocketFactory.getDefault())) {
            assertThat(resilientSocketOutputStream.getDescription())
                .isEqualTo("tcp [localhost:%d]", ss.getLocalPort());
        }
    }