/**
  * @see SearchTableUpdateJob::run
  *
  * @since 2.5
  *
  * @param array|boolan $parameters
  */
 public function pushUpdatesFromJobParameters($parameters)
 {
     if (!$this->searchTableUpdater->isEnabled() || !isset($parameters['slot:id']) || $parameters['slot:id'] === false) {
         return;
     }
     $start = microtime(true);
     $tableChangeOps = $this->transitionalDiffStore->newTableChangeOpsFrom($parameters['slot:id']);
     foreach ($tableChangeOps as $tableChangeOp) {
         $this->doUpdateFromTableChangeOp($tableChangeOp);
     }
     wfDebugLog('smw', __METHOD__ . ' procTime (sec): ' . round(microtime(true) - $start, 5));
 }
 public function testNewTableChangeOpsFromUnknownSlot()
 {
     $this->cache->expects($this->once())->method('fetch');
     $instance = new TransitionalDiffStore($this->cache);
     $this->assertEmpty($instance->newTableChangeOpsFrom('Foo:bar'));
 }