/** * Create a stub of a command result for testing * @param array $output The output of exec * @param int $statusCode The shell return status */ public function __construct($output, $statusCode) { parent::__construct(self::echoCmd(), $output, $statusCode); }