/** * Clean indexer view changelogs * * @return void */ public function execute() { $this->processor->clearChangelog(); }
public function testClearChangelog() { $this->viewProcessorMock->expects($this->once())->method('clearChangelog')->with('indexer')->willReturnSelf(); $this->model->clearChangelog(); }