public function testSanityCommandTest() { $projectFolder = ProjectUtil::createNewProject("CommandTest", true); $app = new Application($projectFolder, 'CommandTest'); $app->add(new TestCommand()); $result = ProjectUtil::runCommand($projectFolder, 'test:testcommand', [], $app); }
private function createApplication() { $app = new Application(self::$projectFolder, 'DALTest'); $app->add(new DataModelCommand()); return $app; }