def METHOD_NAME(self, method):
    request = self.make_request(method=method)
    resp = dummy_endpoint(request)
    assert resp.status_code == HTTP_410_GONE
    assert resp.data == {"message": "This API no longer exists."}
    self.assert_deprecation_metadata(request, resp)