code: def test_init_raises(self):
      with self.assertRaises(Exception) as context:
          _ = ImageFilter("mean")
          self.assertTrue(
              "`filter_size` must be specified when specifying filters by string."
              in str(context.output)
          )
      with self.assertRaises(Exception) as context:
          _ = ImageFilter("mean")
          self.assertTrue(
              "`filter_size` should be a single uneven integer."
              in str(context.output)
          )
      with self.assertRaises(Exception) as context:
          _ = ImageFilter("gauss", 3)
          self.assertTrue(
              "`filter='gauss', requires the additonal keyword argument `sigma`"
              in str(context.output)
          )
      with self.assertRaises(Exception) as context:
          _ = ImageFilter("savitzky_golay", 3)
          self.assertTrue(
              "`filter='savitzky_golay', requires the additonal keyword argument `order`"
              in str(context.output)
          )
  
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.networks.layers.simplelayers import GaussianFilter
  from monai.transforms import ImageFilter, ImageFilterd, RandImageFilter, RandImageFilterd
label_desc: Use image node_id 2 for calling the TestImageFilter obj's underlying member method code with example usage: obj.test_init_raises() without return types