浏览代码

Add example

euromark 11 年之前
父节点
当前提交
440ed525d6
共有 1 个文件被更改,包括 5 次插入0 次删除
  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