code: def test_list_users(
      self,
      cli_runner: "CliRunner",
      cli: "Typer",
      mocker: "MockerFixture",
      user: "User",
  ) -> None:
      add_row_spy = mocker.spy(Table, "add_row")
      user_list_mock = mocker.patch(
          "argilla.client.users.User.list", return_value=[user]
      )
  
      result = cli_runner.invoke(cli, "users list")
  
      assert result.exit_code == 0
      user_list_mock.assert_called_once()
      add_row_spy.assert_called_once_with(
          ANY,
          str(user.id),
          user.username,
          user.role,
          user.first_name,
          user.last_name,
          "• unit-test",
          user.inserted_at.isoformat(sep=" "),
          user.updated_at.isoformat(sep=" "),
      )
  
file_path: argilla/tests/unit/cli/users/test_list.py
imports: from datetime import datetime
  from typing import TYPE_CHECKING
  from unittest.mock import ANY
  from uuid import uuid4
  import pytest
  from argilla.client.sdk.v1.workspaces.models import WorkspaceModel
  from rich.table import Table
label_desc: Use image node_id 1 for calling the TestSuiteListUsersCommand obj's underlying member method code with example usage: obj.test_list_users(cli_runner, cli, mocker, user) without return types