code: def test_missing(self):
      psdf = ps.DataFrame({"a": [1, 2, 3, 4, 5, 6, 7, 8, 9]})
  
      # DataFrameGroupBy functions
      missing_functions = inspect.getmembers(
          MissingPandasLikeDataFrameGroupBy, 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.*GroupBy.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(psdf.groupby("a"), name)()
  
      deprecated_functions = [
          name
          for (name, type_) in missing_functions
          if type_.__name__ == "deprecated_function"
      ]
      for name in deprecated_functions:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "method.*GroupBy.*{}.*is deprecated".format(name),
          ):
              getattr(psdf.groupby("a"), name)()
  
      # SeriesGroupBy functions
      missing_functions = inspect.getmembers(
          MissingPandasLikeSeriesGroupBy, 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.*GroupBy.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(psdf.a.groupby(psdf.a), name)()
  
      deprecated_functions = [
          name
          for (name, type_) in missing_functions
          if type_.__name__ == "deprecated_function"
      ]
      for name in deprecated_functions:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "method.*GroupBy.*{}.*is deprecated".format(name),
          ):
              getattr(psdf.a.groupby(psdf.a), name)()
  
      # DataFrameGroupBy properties
      missing_properties = inspect.getmembers(
          MissingPandasLikeDataFrameGroupBy,
          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.*GroupBy.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(psdf.groupby("a"), name)
      deprecated_properties = [
          name
          for (name, type_) in missing_properties
          if type_.fget.__name__ == "deprecated_property"
      ]
      for name in deprecated_properties:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "property.*GroupBy.*{}.*is deprecated".format(name),
          ):
              getattr(psdf.groupby("a"), name)
  
      # SeriesGroupBy properties
      missing_properties = inspect.getmembers(
          MissingPandasLikeSeriesGroupBy,
          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.*GroupBy.*{}.*not implemented( yet\\.|\\. .+)".format(
                  name
              ),
          ):
              getattr(psdf.a.groupby(psdf.a), name)
      deprecated_properties = [
          name
          for (name, type_) in missing_properties
          if type_.fget.__name__ == "deprecated_property"
      ]
      for name in deprecated_properties:
          with self.assertRaisesRegex(
              PandasNotImplementedError,
              "property.*GroupBy.*{}.*is deprecated".format(name),
          ):
              getattr(psdf.a.groupby(psdf.a), name)
  
file_path: spark/python/pyspark/pandas/tests/groupby/test_missing.py
imports: import unittest
  import inspect
  import pyspark.pandas
  from pyspark.pandas.exceptions import PandasNotImplementedError
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
  from pyspark.pandas.missing.groupby import MissingPandasLikeDataFrameGroupBy, MissingPandasLikeSeriesGroupBy
label_desc: Use image node_id 1 for calling the MissingTestsMixin obj's underlying member method code with example usage: obj.test_missing() without return types