def test_should_returns_surveys_on_load_all(sut: SurveyMongoRepo):
    MOCK_COLLECTION.insert_many([
        dict(
            question="any_question",
            answers=[
                dict(answer="any_answer", image="any_image"),
            ],
            date=datetime.utcnow(),
        ),
        dict(
            question="other_question",
            answers=[
                dict(answer="other_answer", image="other_image"),
            ],
            date=datetime.utcnow(),
        ),
    ])
    surveys = sut.load_all()
    assert len(surveys) == 2
    assert surveys[0].question == "any_question"
    assert surveys[1].question == "other_question"
def test_should_returns_empty_surveys_on_load_all(sut: SurveyMongoRepo):
    surveys = sut.load_all()
    assert len(surveys) == 0