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