def METHOD_NAME(self):
    assert PersistentIdentifier.query.count() == PIDS_COUNT
    pid = PersistentIdentifier.create(pid_type='type1', pid_value='value1')
    assert PersistentIdentifier.query.get(pid.id)
    assert PersistentIdentifier.query.count() == PIDS_COUNT + 1