private EnvelopeRequest createEnvelopeRequest(short version) {
        return new EnvelopeRequest.Builder(
                ByteBuffer.wrap("data".getBytes(StandardCharsets.UTF_8)),
                "principal".getBytes(StandardCharsets.UTF_8),
                "address".getBytes(StandardCharsets.UTF_8))
                .build(version);
    }
Check that all error codes in the response get included in {@link AbstractResponse#errorCounts()}.
clients/src/test/java/org/apache/kafka/common/requests/RequestResponseTest.java