def METHOD_NAME(self):
    self.assertErrorResponse(
        views.GoneView,
        {
            "code": "gone",
            "title": _("The resource is gone"),
            "status": 410,
            "detail": "The resource was destroyed",
        },
    )