def METHOD_NAME():
    class DummyPlugin:
        ...  # pylint: disable=pointless-statement
    dummy_plugin = DummyPlugin()
    plugin_manager = DeploymentPlugins()
    plugin_manager.registry["dummy"] = dummy_plugin
    with pytest.raises(MlflowException, match="Plugin registered for the target dummy"):
        plugin_manager["dummy"]  # pylint: disable=pointless-statement