def METHOD_NAME(self):
    spec = SageMakerMonitoringScheduleSpec(self.REQUIRED_ARGS)
    statuses = {
        "status": {
            "ackResourceMetadata": 1,
            "conditions": 2,
        }
    }
    with patch(
        "MonitoringSchedule.src.MonitoringSchedule_component.SageMakerComponent._get_resource",
        MagicMock(return_value=statuses),
    ):
        self.component._after_job_complete({}, {}, spec.inputs, spec.outputs)
        self.assertEqual(spec.outputs.ack_resource_metadata, "1")
        self.assertEqual(spec.outputs.conditions, "2")
        self.assertEqual(spec.outputs.sagemaker_resource_name, "test")