def METHOD_NAME(self, safe_urlopen):
    InstallationNotifier.run(install=self.install, user=self.user, action="created")
    InstallationNotifier.run(install=self.install, user=self.user, action="deleted")
    buffer = SentryAppWebhookRequestsBuffer(self.sentry_app)
    requests = buffer.get_requests()
    assert len(requests) == 2
    assert requests[0]["event_type"] == "installation.deleted"
    assert requests[1]["event_type"] == "installation.created"