code: def test_missing_package(self, getDistributionMock):
      requirement = "package"
  
      getDistributionMock.side_effect = (
          pkg_resources.DistributionNotFound()
      )
  
      self.assertRaisesRegex(
          MissingPackageError,
          "Mandatory package 'package' not found",
          verify_packages,
          requirement,
      )
  
file_path: auto-sklearn/test/test_util/test_dependencies.py
imports: import re
  import numpy
  import pkg_resources
  from autosklearn.util.dependencies import IncorrectPackageVersionError, MissingPackageError, verify_packages
  import unittest
  from unittest.mock import Mock, patch
label_desc: Use image node_id 2 for calling the VerifyPackagesTests obj's underlying member method code with example usage: obj.test_missing_package(getDistributionMock) without return types