def METHOD_NAME(self):
    self.last_success = mock.Mock(run_time=datetime.datetime(2012, 3, 14))
    mock_scheduler = mock.create_autospec(scheduler.GeneralScheduler)
    run_collection = mock.create_autospec(JobRunCollection, last_success=self.last_success,)
    self.job = job.Job("MASTER.jobname", mock_scheduler, run_collection=run_collection,)
    self.context = command_context.JobContext(self.job)