def METHOD_NAME(
    self, cli_runner: "CliRunner", cli: "Typer", mocker: "MockerFixture"
) -> None:
    workspace_from_name_mock = mocker.patch("argilla.client.workspaces.Workspace.from_name", side_effect=ValueError)
    result = cli_runner.invoke(cli, "datasets list --workspace unit-test")
    assert result.exit_code == 1
    assert "Workspace with name=unit-test does not exist" in result.stdout
    workspace_from_name_mock.assert_called_once_with("unit-test")