def METHOD_NAME(self):
    config = self.make_app(
        {"event_listeners": "demo", "event_listeners.demo.use": "tests.core.listeners"}
    )
    event = ResourceChanged(
        {"action": ACTIONS.CREATE.value, "resource_name": "mushroom"}, [], Request()
    )
    config.registry.notify(event)
    self.assertTrue(self.demo_mocked.return_value.called)