def METHOD_NAME(db, minimal_record, recid_pid):
    """"Test author."""
    minimal_record['creators'] = []
    obj = csl_v1.transform_record(recid_pid, Record(minimal_record))
    assert obj['author'] == []
    minimal_record['creators'] = [
        {'familyname': 'TestFamily1', 'givennames': 'TestGiven1'},
        {'familyname': 'TestFamily2', 'name': 'TestName2'},
        {'name': 'TestName3'},
    ]
    obj = csl_v1.transform_record(recid_pid, Record(minimal_record))
    assert obj['author'] == [
        {'family': 'TestFamily1', 'given': 'TestGiven1'},
        {'family': 'TestName2'},
        {'family': 'TestName3'},
    ]