code: def test_invalid_instantiation(self):
      self.assertRaises(
          ValueError,
          ScaleIntensityRangePercentiles,
          lower=-10,
          upper=99,
          b_min=0,
          b_max=255,
      )
      self.assertRaises(
          ValueError,
          ScaleIntensityRangePercentiles,
          lower=101,
          upper=99,
          b_min=0,
          b_max=255,
      )
      self.assertRaises(
          ValueError,
          ScaleIntensityRangePercentiles,
          lower=30,
          upper=-20,
          b_min=0,
          b_max=255,
      )
      self.assertRaises(
          ValueError,
          ScaleIntensityRangePercentiles,
          lower=30,
          upper=900,
          b_min=0,
          b_max=255,
      )
  
file_path: MONAI/tests/test_scale_intensity_range_percentiles.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from monai.transforms.intensity.array import ScaleIntensityRangePercentiles
  from tests.utils import TEST_NDARRAYS, NumpyImageTestCase2D, assert_allclose
label_desc: Use image node_id 3 for calling the TestScaleIntensityRangePercentiles obj's underlying member method code with example usage: obj.test_invalid_instantiation() without return types