protected Map<String, Object> clientConfigs() {
        return new HashMap<>();
    }
A set of tests for the selector. These use a test harness that runs a simple socket server that echos back responses.
clients/src/test/java/org/apache/kafka/common/network/SelectorTest.java