code: def test_create_new_dataset_with_unique_name__new_name(
      mocker: MockerFixture,
  ) -> None:
      mocker.patch.object(
          ApiWorkflowClient, "__init__", return_value=None
      )
      mocker.patch.object(
          ApiWorkflowClient, "dataset_name_exists", return_value=False
      )
      mocked_create_dataset = mocker.patch.object(
          ApiWorkflowClient, "_create_dataset_without_check_existing"
      )
      dataset_name = "dataset-name"
      dataset_type = DatasetType.IMAGES
      client = ApiWorkflowClient()
      client.create_new_dataset_with_unique_name(
          dataset_basename=dataset_name, dataset_type=dataset_type
      )
      mocked_create_dataset.assert_called_once_with(
          dataset_name=dataset_name,
          dataset_type=dataset_type,
      )
  
imports: from typing import List
  import pytest
  from pytest_mock import MockerFixture
  from lightly.api import ApiWorkflowClient, api_workflow_datasets
  from lightly.openapi_generated.swagger_client.api import DatasetsApi
  from lightly.openapi_generated.swagger_client.models import Creator, DatasetCreateRequest, DatasetData, DatasetType
  from lightly.openapi_generated.swagger_client.rest import ApiException
  from tests.api_workflow import utils
  from tests.api_workflow.mocked_api_workflow_client import MockedApiWorkflowSetup
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_new_dataset_with_unique_name__new_name(mocker) without return types