public static ApiVersionsResponse createApiVersionsResponse(
            int throttleTimeMs,
            ApiVersionsResponseData.ApiVersionCollection apiVersions
    ) {
        return createApiVersionsResponse(throttleTimeMs, apiVersions, 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