code: def setUp(self):
      self.base_provider = MockProvider()
      self.availability_tracker = NodeProviderAvailabilityTracker()
      self.node_launcher = BaseNodeLauncher(
          self.base_provider,
          FakeCounter(),
          EventSummarizer(),
          self.availability_tracker,
      )
      self.config = AutoscalingConfig(
          load_test_config("test_ray_complex.yaml")
      )
      self.node_provider = NodeProviderAdapter(
          self.base_provider, self.node_launcher, self.config
      )
  
file_path: ray/python/ray/autoscaler/v2/tests/test_node_provider.py
imports: import os
  import sys
  import unittest
  import pytest
  from ray._private.test_utils import load_test_config
  from ray.autoscaler._private.event_summarizer import EventSummarizer
  from ray.autoscaler._private.node_launcher import BaseNodeLauncher
  from ray.autoscaler._private.node_provider_availability_tracker import NodeProviderAvailabilityTracker
  from ray.autoscaler.node_launch_exception import NodeLaunchException
  from ray.autoscaler.v2.instance_manager.config import AutoscalingConfig
  from ray.autoscaler.v2.instance_manager.node_provider import NodeProviderAdapter
  from ray.autoscaler.v2.tests.util import FakeCounter
  from ray.core.generated.instance_manager_pb2 import Instance
  from ray.tests.autoscaler_test_utils import MockProvider
label_desc: Use image node_id 1 for calling the NodeProviderTest obj's underlying member method code with example usage: obj.setUp() without return types