public static ApiVersionsResponse defaultApiVersionsResponse(
            int throttleTimeMs,
            ApiMessageType.ListenerType listenerType,
            boolean enableUnstableLastVersion
    ) {
        return createApiVersionsResponse(
                throttleTimeMs,
                ApiVersionsResponse.filterApis(RecordVersion.current(), listenerType, enableUnstableLastVersion, true),
                Features.emptySupportedFeatures(),
                false
        );
    }
Returns true if both the iterators have same set of elements irrespective of order and duplicates.

@param iterator1 first iterator.
@param iterator2 second iterator.
@param <T>       type of element in the iterators.
clients/src/test/java/org/apache/kafka/test/TestUtils.java