public static NodeApiVersions create(short apiKey, short minVersion, short maxVersion) {
        return create(Collections.singleton(new ApiVersion()
                .setApiKey(apiKey)
                .setMinVersion(minVersion)
                .setMaxVersion(maxVersion)));
    }
Create a NodeApiVersions object with a single ApiKey. It is mainly used in tests.

@param apiKey ApiKey's id.
@param minVersion ApiKey's minimum version.
@param maxVersion ApiKey's maximum version.
@return A new NodeApiVersions object.
clients/src/main/java/org/apache/kafka/clients/NodeApiVersions.java