def METHOD_NAME(self):
    request = self.get_request()
    with mock.patch.object(
        request.registry.storage,
        "resource_timestamp",
        side_effect=storage_exceptions.BackendError,
    ):
        with self.assertRaises(storage_exceptions.BackendError):
            self.resource_class(request)