public function testRunOnce() { $type = 'testType'; $queueRunMethodProphecy = $this->createPropheciesForTaskRunnerRun($type); $queueRunMethodProphecy->shouldBeCalledTimes(1); $this->sut->runOnce($type); }