public function flush() { $this->stream->flush(); }
public function testFlush() { $stream = $this->getMock('Webmozart\\Console\\Api\\IO\\OutputStream'); $stream->expects($this->once())->method('flush'); $this->output->setStream($stream); $this->output->flush(); }