def METHOD_NAME(self):
    named_spec = SageMakerMonitoringScheduleSpec(self.REQUIRED_ARGS)
    with patch(
        "MonitoringSchedule.src.MonitoringSchedule_component.SageMakerComponent._get_current_namespace"
    ) as mock_namespace:
        mock_namespace.return_value = "test-namespace"
        self.component.Do(named_spec)
        self.assertEqual("test", self.component.job_name)