private void prepareResponseFrom(RequestMatcher matcher,
                                     AbstractResponse response,
                                     Node node,
                                     boolean disconnected,
                                     boolean isUnsupportedVersion) {
        futureResponses.add(new FutureResponse(node, matcher, response, disconnected, isUnsupportedVersion));
    }
Raise an unsupported version error on the next request if it matches the given matcher.
If the matcher does not match, {@link KafkaClient#send(ClientRequest, long)} will throw IllegalStateException.
@param matcher The request matcher to apply
clients/src/test/java/org/apache/kafka/clients/MockClient.java