def METHOD_NAME(pids_count, app):
    assert PersistentIdentifier.query.count() == pids_count
    PersistentIdentifier.create(
        pid_type='type1',
        pid_value='value1',
    )
    # The #PIDs must have incremented.
    assert PersistentIdentifier.query.count() == pids_count + 1