def METHOD_NAME(self, mock_search):
    """
    Happy path: the consumer is filtering the persons by title
    """
    mock_search.return_value = {
        "hits": {
            "hits": [
                {
                    "_id": 21,
                    "_source": {
                        "portrait": {"fr": "/portrait_21.png"},
                        "title": {"fr": "Michel de Montaigne"},
                    },
                },
                {
                    "_id": 61,
                    "_source": {
                        "portrait": {"fr": "/portrait_61.png"},
                        "title": {"fr": "Michel Polnareff"},
                    },
                },
            ],
            "total": {"relation": "eq", "value": 32},
        }
    }
    response = self.client.get("/api/v1.0/persons/?query=Michel&limit=2")
    # The client received a properly formatted response
    self.assertEqual(response.status_code, 200)
    self.assertEqual(
        response.data,
        {
            "meta": {"count": 2, "offset": 0, "total_count": 32},
            "objects": [
                {
                    "id": 21,
                    "portrait": "/portrait_21.png",
                    "title": "Michel de Montaigne",
                },
                {
                    "id": 61,
                    "portrait": "/portrait_61.png",
                    "title": "Michel Polnareff",
                },
            ],
        },
    )
    # The ES connector was called with a query that matches the client's request
    mock_search.assert_called_with(
        _source=["absolute_url", "portrait", "title"],
        body={
            "query": {
                "bool": {
                    "must": [
                        {
                            "multi_match": {
                                "analyzer": "english",
                                "fields": ["title.*"],
                                "query": "Michel",
                            }
                        }
                    ]
                }
            },
            "sort": [{"title_raw.en": {"order": "asc"}}],
        },
        from_=0,
        index="richie_persons",
        size=2,
    )