/**
  * @dataProvider getTypes
  *
  * @param int $type
  */
 public function testWriteLn($type)
 {
     $this->output->expects($this->once())->method('writeln')->with('foo', $type);
     $this->decorator->writeln('foo', $type);
 }
Example #2
0
 /**
  * @param array|string $messages
  * @param int $type
  */
 public function writeln($messages, $type = self::OUTPUT_NORMAL)
 {
     $this->writeToFile($messages, true);
     parent::writeln($messages, $type);
 }