public function createTickQueue() { $prophecy = $this->prophesize(LoopModelMock::class); $prophecy->isRunning()->willReturn(true); return new TickFiniteQueueMock($prophecy->reveal()); }