Browse Source

Add example

euromark 11 years ago
parent
commit
440ed525d6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/TestSuite/ConsoleOutput.php

+ 5 - 0
src/TestSuite/ConsoleOutput.php

@@ -12,6 +12,11 @@ use Tools\TestSuite\ToolsTestTrait;
  *  $stdOut = new ConsoleOutput();
  *  $stdErr = new ConsoleOutput();
  *  $io = new ConsoleIo($stdOut, $stdErr);
+ *  $this->Shell = $this->getMock(
+ *    'App\Shell\FooBarShell',
+ *    ['in', '_stop'],
+ *    [$io]
+ *  );
  *
  * @license MIT
  * @author Mark Scherer