protected function getWriter() { return $this->writer = $this->writer ?: Mock::get(WriterInterface::class); }