console->find('version'); $commandTester = new CommandTester($command); $commandTester->execute(array( 'command' => $command->getName() )); $this->assertEquals($this->console->project->version, trim($commandTester->getDisplay())); } } /* End of file VersionCommandTest.php */