def METHOD_NAME(self, qtbot, config_stub, monkeypatch,
                      cookie, ram_jar, url):
    """Test setCookiesFromUrl when cookies are not accepted."""
    config_stub.val.content.cookies.accept = 'never'
    with qtbot.assert_not_emitted(ram_jar.changed):
        assert not ram_jar.setCookiesFromUrl([cookie], url)
    assert not ram_jar.cookiesForUrl(url)