@Test
    public void testHtmlOnlyHaveStableApi() {
        String html = ApiKeys.toHtml();
        for (ApiKeys apiKeys : ApiKeys.clientApis()) {
            if (apiKeys.messageType.latestVersionUnstable()) {
                assertFalse(html.contains("The_Messages_" + apiKeys.name), "Html should not contain unstable api: " + apiKeys.name);
            } else {
                assertTrue(html.contains("The_Messages_" + apiKeys.name), "Html should contain stable api: " + apiKeys.name);
            }
        }
    }
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