def METHOD_NAME(self):
    """
    The first request should be successful and return a 204 status code,
    it must have set the cache with the given id in the data.
    The second request should also succeed but return a 200 status code,
    the cache should have been used to see that the xapi statement has already been sent.
    """
    video = VideoFactory()
    jwt_token = UserAccessTokenFactory()
    data = {
        "id": "7b18195e-e183-4bbf-b8ef-5145ef64ae19",
        "verb": {
            "id": "http://adlnet.gov/expapi/verbs/initialized",
            "display": {"en-US": "initialized"},
        },
        "context": {
            "extensions": {"https://w3id.org/xapi/video/extensions/volume": 1}
        },
    }
    with mock.patch("marsha.core.api.XAPI.send", return_value=None):
        response1 = self.client.post(
            f"/xapi/video/{video.id}/",
            HTTP_AUTHORIZATION=f"Bearer {jwt_token}",
            data=json.dumps(data),
            content_type="application/json",
        )
        response2 = self.client.post(
            f"/xapi/video/{video.id}/",
            HTTP_AUTHORIZATION=f"Bearer {jwt_token}",
            data=json.dumps(data),
            content_type="application/json",
        )
    self.assertEqual(response1.status_code, 204)
    self.assertEqual(
        cache.get(f"{XAPI_STATEMENT_ID_CACHE}7b18195e-e183-4bbf-b8ef-5145ef64ae19"),
        "7b18195e-e183-4bbf-b8ef-5145ef64ae19",
    )
    self.assertEqual(response2.status_code, 200)