code: def test_vissl_training_with_wrong_arguments(
      backbone,
      training_strategy,
      head,
      pretraining_transform,
      expected_exception,
  ):
      with pytest.raises(expected_exception):
          ImageEmbedder(
              backbone=backbone,
              training_strategy=training_strategy,
              head=head,
              pretraining_transform=pretraining_transform,
          )
  
file_path: lightning-flash/tests/image/embedding/test_model.py
imports: from typing import Any
  import flash
  import pytest
  import torch
  from flash.core.utilities.imports import _TOPIC_IMAGE_AVAILABLE, _TORCHVISION_AVAILABLE, _VISSL_AVAILABLE
  from flash.image import ImageClassificationData, ImageEmbedder
  from torch import Tensor
  from tests.helpers.task_tester import TaskTester
label_desc: Use image node_id 2 for calling a global function with example usage: test_vissl_training_with_wrong_arguments(backbone, training_strategy, head, pretraining_transform, expected_exception) without return types