/** * @param string $jobType * @param string $jobName * @return JobResult */ protected function executePostProcessingJob($jobType, $jobName) { $clearSkipped = $this->jobExecutor->isSkipClear(); $this->jobExecutor->setSkipClear(true); $jobResult = $this->jobExecutor->executeJob($jobType, $jobName, $this->getJobConfiguration()); $this->jobExecutor->setSkipClear($clearSkipped); return $jobResult; }
public function testSkipClear() { $this->assertFalse($this->executor->isSkipClear()); $this->executor->setSkipClear(true); $this->assertTrue($this->executor->isSkipClear()); }