def METHOD_NAME(record):
    difference = diff_records(None, record)
    assert isinstance(difference, AddAction)
    assert difference.record_dn == record.dn
    assert difference.nonempty_attrs.items() <= record.attrs.items()
    assert all((
        not val
        for key, val in record.attrs.items()
        if key not in difference.nonempty_attrs
    ))