/** * Test setting the application suffixes * * @return void * @author Dan Cox */ public function test_settingSuffixes() { // Will throw an exception because it looks for FakeTaskTask $this->setExpectedException('Phalcon\\CLI\\Dispatcher\\Exception'); $app = new Application(); $app->setTaskSuffix('Task'); $app->setActionSuffix('Action'); $app->add(new FakeTask()); $app->start(['cli', 'fake']); }