def METHOD_NAME(notify_api, mocker):
    AFTER_SEVEN_DAYS = datetime_in_past(days=8)
    s3_objects_stub = [
        single_s3_object_stub("bar/", AFTER_SEVEN_DAYS),
        single_s3_object_stub("bar/foo.txt", AFTER_SEVEN_DAYS),
    ]
    filtered_items = filter_s3_bucket_objects_within_date_range(s3_objects_stub)
    assert len(filtered_items) == 1
    assert filtered_items[0]["Key"] == "bar/foo.txt"
    assert filtered_items[0]["LastModified"] == datetime_in_past(days=8)