add(new module_console_aboutLicense('about:license')); $command = $application->find('about:license'); $commandTester = new CommandTester($command); $commandTester->execute(array('command' => $command->getName())); $this->assertEquals( trim(file_get_contents(__DIR__ . '/../../../../LICENSE')) , trim($commandTester->getDisplay()) ); } } ?>