def METHOD_NAME(self):
    """Test get_csrf API endpoint authenticated."""
    self.client.force_login(self.user)
    response = self.client.get(reverse("api:get_csrf"))
    self.assertEqual(response.status_code, 200)
    self.assertIsInstance(response, HttpResponse)
    self.assertIn("X-CSRFToken", response.headers)