def METHOD_NAME(self):
    self.assertEqual(
        checks.check_auto_creation_is_enabled(None),
        []
    )
    self.set_global_parameter(
        "auto_create_domain_and_mailbox", False, app="admin")
    self.assertEqual(
        checks.check_auto_creation_is_enabled(None),
        [checks.W001]
    )