def METHOD_NAME(self):
    """ A task should have been created for the test tenant"""
    create_email_notification_tasks()
    tasks = PeriodicTask.objects.filter(task='notifications.tasks.email_notifications_to_users')
    self.assertEqual(tasks.count(), 1)
    task = tasks.first()
    self.assertEqual(task.headers, json.dumps({"_schema_name": "test"}))
    self.assertTrue(task.enabled)
    self.assertFalse(task.one_off)