def METHOD_NAME(mock_get, client):
    """Test proxy."""
    response = client.get(url_for('api_blueprint.proxy'))
    assert response.status_code == 400
    assert response.json['message'] == 'Missing `url` parameter'
    mock_get.return_value = mock_response(status=418)
    response = client.get(url_for(
        'api_blueprint.proxy',
        url='http://mocked.url')
    )
    assert response.status_code == 418