protected function shouldWriteOutput($message) { $this->getOutputInterface()->shouldReceive('write')->once()->with($message); }