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