code: def test_list_users_with_workspace(
      self,
      cli_runner: "CliRunner",
      cli: "Typer",
      mocker: "MockerFixture",
      user: "User",
      workspace: "Workspace",
  ) -> None:
      add_row_spy = mocker.spy(Table, "add_row")
      workspace_from_name_mock = mocker.patch(
          "argilla.client.workspaces.Workspace.from_name",
          return_value=workspace,
      )
      mocker.patch(
          "argilla.client.workspaces.Workspace.users",
          new_callable=lambda: [user],
      )
  
      result = cli_runner.invoke(
          cli, "users list --workspace unit-test"
      )
  
      assert result.exit_code == 0
      workspace_from_name_mock.assert_called_once_with("unit-test")
      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 2 for calling the TestSuiteListUsersCommand obj's underlying member method code with example usage: obj.test_list_users_with_workspace(cli_runner, cli, mocker, user, workspace) without return types