/** * @param string $command * @param string $expected */ private function assertOutputIs($command, $expected) { $output = new SpyOutput(); $this->application->run(new StringInput($command), $output); $this->assertEquals($expected, $output->output); }