def METHOD_NAME(  # a shrubbery!
    mocker: pytest_mock.MockerFixture,
) -> interceptor.WebEngineRequest:
    qt_info = mocker.Mock(spec=QWebEngineUrlRequestInfo)
    qt_info.requestMethod.return_value = QByteArray(b"GET")
    first_party_url = QUrl("https://firstparty.example.org/")
    request_url = QUrl("https://request.example.org/")
    return interceptor.WebEngineRequest(
        first_party_url=first_party_url,
        request_url=request_url,
        webengine_info=qt_info,
    )