@Test
    public void testApiScope() {
        Set<ApiKeys> apisMissingScope = new HashSet<>();
        for (ApiKeys apiKey : ApiKeys.values()) {
            if (apiKey.messageType.listeners().isEmpty()) {
                apisMissingScope.add(apiKey);
            }
        }
        assertEquals(Collections.emptySet(), apisMissingScope,
            "Found some APIs missing scope definition");
    }
All valid client responses which may be throttled should have a field named
'throttle_time_ms' to return the throttle time to the client. Exclusions are
<ul>
  <li> Cluster actions used only for inter-broker are throttled only if unauthorized
  <li> SASL_HANDSHAKE and SASL_AUTHENTICATE are not throttled when used for authentication
       when a connection is established or for re-authentication thereafter; these requests
       return an error response that may be throttled if they are sent otherwise.
</ul>
clients/src/test/java/org/apache/kafka/common/protocol/ApiKeysTest.java