def METHOD_NAME(self):
    """Mock SoftwareManager"""
    self.sm_patcher = patch(
        "avocado.plugins.runners.package.SoftwareManager", autospec=True
    )
    self.mock_sm = self.sm_patcher.start()
    self.addCleanup(self.sm_patcher.stop)