def METHOD_NAME(path):
    test_cases = [
        ("avro-message-single-doctype.ndjson", test_single_doctype),
        ("avro-message-multiple-doctype.ndjson", test_multiple_doctype),
        ("avro-message-invalid-doctype.ndjson", test_invalid_doctype),
    ]
    for name, func in test_cases:
        logging.info("Writing {}".format(name))
        filename = os.path.join(path, name)
        with open(filename, "w") as f:
            f.write(func() + "\n")