add(new module_console_aboutAuthors('about:authors')); $command = $application->find('about:authors'); $commandTester = new CommandTester($command); $commandTester->execute(array('command' => $command->getName())); $this->assertEquals( trim(file_get_contents(dirname(__FILE__) . '/../../../../AUTHORS')) , trim($commandTester->getDisplay()) ); } } ?>