def METHOD_NAME(self, session, user):
    result = session.execute(
        sa.text('SELECT phone_number FROM "user" WHERE id=:param'),
        {"param": user.id},
    )
    assert result.first()[0] == "+358401234567"