def METHOD_NAME(self):
    self.assertTrue(self.hook.active)  # WTF
    self.assertEqual(self.hook.config, {"url": "http://foobar.com"})
    self.assertEqual(
        self.hook.created_at,
        datetime(2012, 5, 19, 6, 1, 45, tzinfo=timezone.utc),
    )
    self.assertEqual(self.hook.events, ["push"])
    self.assertEqual(self.hook.id, 257993)
    self.assertEqual(self.hook.last_response.status, "ok")
    self.assertEqual(self.hook.last_response.message, "OK")
    self.assertEqual(self.hook.last_response.code, 200)
    self.assertEqual(self.hook.name, "web")
    self.assertEqual(
        self.hook.updated_at,
        datetime(2012, 5, 29, 18, 49, 47, tzinfo=timezone.utc),
    )
    self.assertEqual(self.hook.url, "https://api.github.com/repos/jacquev6/PyGithub/hooks/257993")
    self.assertEqual(
        self.hook.test_url,
        "https://api.github.com/repos/jacquev6/PyGithub/hooks/257993/tests",
    )
    self.assertEqual(
        self.hook.ping_url,
        "https://api.github.com/repos/jacquev6/PyGithub/hooks/257993/pings",
    )
    self.assertEqual(
        repr(self.hook),
        'Hook(url="https://api.github.com/repos/jacquev6/PyGithub/hooks/257993", id=257993)',
    )
    self.assertEqual(repr(self.hook.last_response), 'HookResponse(status="ok")')