code: def test_list_registered_model_permission(store):
      username1 = random_str()
      password1 = random_str()
      _user_maker(store, username1, password1)
  
      name1 = "1" + random_str()
      _rmp_maker(store, name1, username1, READ.name)
  
      name2 = "2" + random_str()
      _rmp_maker(store, name2, username1, READ.name)
  
      name3 = "3" + random_str()
      _rmp_maker(store, name3, username1, READ.name)
  
      rmps = store.list_registered_model_permissions(username1)
      rmps.sort(key=lambda rmp: rmp.name)
  
      assert len(rmps) == 3
      assert isinstance(rmps[0], RegisteredModelPermission)
      assert rmps[0].name == name1
      assert rmps[1].name == name2
      assert rmps[2].name == name3
  
imports: import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, RESOURCE_ALREADY_EXISTS, RESOURCE_DOES_NOT_EXIST, ErrorCode
  from mlflow.server.auth.entities import ExperimentPermission, RegisteredModelPermission, User
  from mlflow.server.auth.permissions import ALL_PERMISSIONS, EDIT, READ
  from mlflow.server.auth.sqlalchemy_store import SqlAlchemyStore
  from tests.helper_functions import random_str
label_desc: Use image node_id 19 for calling a global function with example usage: test_list_registered_model_permission(store) without return types