private RemoveRaftVoterRequest createRemoveRaftVoterRequest(short version) {
        return new RemoveRaftVoterRequest(new RemoveRaftVoterRequestData().
                setClusterId("FmRMoH-iTCSFNnzgpkWT2A").
                setVoterId(1).
                setVoterDirectoryId(Uuid.fromString("DZG26STKRxaelDpg2wqsXw")),
                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