code: def test_missing(self):
      pdf_r = self.psdf1.resample("3Y")
      pser_r = self.psdf1.A.resample("3Y")
  
      # DataFrameResampler functions
      missing_functions = inspect.getmembers(
          MissingPandasLikeDataFrameResampler, inspect.isfunction
      )
      unsupported_functions = [
          name
          for (name, type_) in missing_functions
          if type_.__name__ == "unsupported_function"
      ]
      for name in unsupported_functions:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "method.*Resampler.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(pdf_r, name)()
  
      # SeriesResampler functions
      missing_functions = inspect.getmembers(
          MissingPandasLikeSeriesResampler, inspect.isfunction
      )
      unsupported_functions = [
          name
          for (name, type_) in missing_functions
          if type_.__name__ == "unsupported_function"
      ]
      for name in unsupported_functions:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "method.*Resampler.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(pser_r, name)()
  
      # DataFrameResampler properties
      missing_properties = inspect.getmembers(
          MissingPandasLikeDataFrameResampler,
          lambda o: isinstance(o, property),
      )
      unsupported_properties = [
          name
          for (name, type_) in missing_properties
          if type_.fget.__name__ == "unsupported_property"
      ]
      for name in unsupported_properties:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "property.*Resampler.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(pdf_r, name)
  
      # SeriesResampler properties
      missing_properties = inspect.getmembers(
          MissingPandasLikeSeriesResampler,
          lambda o: isinstance(o, property),
      )
      unsupported_properties = [
          name
          for (name, type_) in missing_properties
          if type_.fget.__name__ == "unsupported_property"
      ]
      for name in unsupported_properties:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "property.*Resampler.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(pser_r, name)
  
file_path: spark/python/pyspark/pandas/tests/resample/test_missing.py
imports: import unittest
  import inspect
  import datetime
  import numpy
  import pandas
  from pyspark import pandas
  from pyspark.pandas.exceptions import PandasNotImplementedError
  from pyspark.pandas.missing.resample import MissingPandasLikeDataFrameResampler, MissingPandasLikeSeriesResampler
  from pyspark.testing.pandasutils import PandasOnSparkTestCase, TestUtils
label_desc: Use image node_id 3 for calling the ResampleMissingMixin obj's underlying member method code with example usage: obj.test_missing() without return types