def METHOD_NAME():
    db = FakeDatabase()
    log = RecordedQueryLog(collections.deque(maxlen=100), db)
    log.threshold = 1
    log.append(QUERY)
    assert len(log) == 1
    assert [x for x in log] == [QUERY]
    assert db.execute_calls == []