def test_Donor_4():
    d = Donor("Jeff Bezos", [4000.00, 2345])
    assert d.LatestDonation(
    ) == f"Dear Jeff Bezos, your last donation was 2345"
    email = "Dear Jeff Bezos,\n\n\tYou have donated 2 times with an average" + \
            " of $3172.50 per donation.\n\n\tThe total amount you donated " + \
            "is $6345.00, and your last donation was $2345.00.\n\n\tIt will " + \
            "be put to very good use.\n\n\t\t\tSincerely,\n\t\t\t\t-The Team."
    assert d.SendEmail() == email
    d.TextFile("./", "today")
    file = pathlib.Path('./Jeff Bezos_today.txt')
    assert file.exists() is True