public function testClose() { $stream = $this->getMock('Webmozart\\Console\\Api\\IO\\OutputStream'); $stream->expects($this->once())->method('close'); $this->output->setStream($stream); $this->output->close(); }
/** * {@inheritdoc} */ public function removeFormat($string) { return $this->output->removeFormat($string); }