def METHOD_NAME(self, selenium_addon):
    f = tflow.tflow(resp=tutils.tresp())
    f.request.url = "http://example.com/login.php"
    selenium_addon.set_cookies = False
    with mock.patch(
        "examples.complex.webscanner_helper.proxyauth_selenium.SeleniumAddon.login",
        return_value=[{"name": "cookie", "value": "test"}],
    ) as mock_login:
        selenium_addon.response(f)
    mock_login.assert_called()