def METHOD_NAME(self):
    webhooks = self.bitbucket.get_webhooks(
        self.project_key,
        self.repository_slug,
    )
    for webhook, fake_webhook in zip(webhooks, self.fake_webhooks):
        self.assertEqual(webhook["name"], fake_webhook["name"])
        self.assertEqual(webhook["events"], fake_webhook["events"])
        if fake_webhook["secret"] is None:
            self.assertEqual(webhook["configuration"], {})
        else:
            self.assertEqual(webhook["configuration"]["secret"], fake_webhook["secret"])
        self.assertEqual(webhook["url"], fake_webhook["url"])
        self.assertEqual(webhook["active"], fake_webhook["active"])