code: def test_list_registered_model_paginated(store):
      for _ in range(10):
          store.create_registered_model(random_str())
      rms1 = store.list_registered_models(
          max_results=4, page_token=None
      )
      assert len(rms1) == 4
      assert rms1.token is not None
      rms2 = store.list_registered_models(
          max_results=4, page_token=None
      )
      assert len(rms2) == 4
      assert rms2.token is not None
      assert rms1 == rms2
      rms3 = store.list_registered_models(
          max_results=500, page_token=rms2.token
      )
      assert len(rms3) == 6
      assert rms3.token is None
  
imports: import time
  import uuid
  from typing import List, NamedTuple
  from unittest import mock
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, RESOURCE_DOES_NOT_EXIST, ErrorCode
  from mlflow.store.model_registry.file_store import FileStore
  from mlflow.utils.file_utils import path_to_local_file_uri, write_yaml
  from mlflow.utils.time import get_current_time_millis
  from tests.helper_functions import random_int, random_str
label_desc: Use image node_id 12 for calling a global function with example usage: test_list_registered_model_paginated(store) without return types