Beispiel #1
0
 public function testGetOutput()
 {
     $app = $this->getApp();
     $factory = new Factory($app, array('basedir' => PHPUNIT_WEBROOT . '/extensions'));
     $io = $factory->getIO();
     $output = $factory->getOutput();
     $this->assertEquals('', $output);
 }
Beispiel #2
0
 /**
  * Return the output from the last IO.
  *
  * @return string
  */
 public function getOutput()
 {
     return $this->factory->getIO()->getOutput();
 }