public function testInvalidCommandException() { $this->setExpectedException('yii\\console\\Exception'); Yii::$app->runAction('luya/luya/luya'); }