def METHOD_NAME(mocker, mock_api_client):
    headers = [api_http_headers.ApiHttpHeader("foo", "bar"), api_http_headers.ApiHttpHeader("bar", "foo")]
    api_http_headers.set_api_headers_on_api_client(mock_api_client, headers)
    mock_api_client.set_default_header.assert_has_calls(
        [
            mocker.call(headers[0].name, headers[0].value),
            mocker.call(headers[1].name, headers[1].value),
        ]
    )