private void verifyEmptyImmediatelyConnectedKeys(Selector selector) throws Exception {
        Field field = Selector.class.getDeclaredField("immediatelyConnectedKeys");
        ensureEmptySelectorField(selector, field);
    }
Validate that correct subset of io metrics marked deprecated in docs
clients/src/test/java/org/apache/kafka/common/network/SelectorTest.java