def METHOD_NAME(self, get_nodes_plugin):
    pm = PluginManager(plugins=[get_nodes_plugin])
    assert len(pm.hooks) == 1
    assert "get_nodes" in pm.hooks
    assert len(pm.hooks["get_nodes"]) == 1
    assert pm.hooks["get_nodes"][0] == get_nodes_plugin.get_nodes