def METHOD_NAME(self):
    header = generate_header()
    event = stripe.Webhook.construct_event(
        DUMMY_WEBHOOK_PAYLOAD, header, DUMMY_WEBHOOK_SECRET
    )
    assert isinstance(event, stripe.Event)