def METHOD_NAME(plugin):
    plugins.manager.install(plugin)
    plugins.manager.activate(plugin)
    plugins.manager.uninstall(plugin)
    hooks.session_start()  # pylint: disable=no-member
    assert plugin.session_start_call_count == 0