def METHOD_NAME(self, selenium_addon):
    f = tflow.tflow(resp=tutils.tresp())
    f.request.is_replay = True
    with mock.patch.object(logger, "warning") as mock_warning:
        selenium_addon.request(f)
    mock_warning.assert_called()