def METHOD_NAME(self):
    # Test adding a webhook
    app = WebhooksServer()
    @app.add_webhook
    async def handler():
        pass
    self.assertIn("/webhooks/handler", app.registered_webhooks)