Пример #1
0
 public function testAddWrongSignature(CodeGuy $I)
 {
     $I->createExamplePhar(\Yii::getAlias('@tests/_runtime/yii2-phar'));
     try {
         $I->addWrongSignature();
         $I->fail("signature with wrong params didn't fire exception");
     } catch (InvalidConfigException $error) {
         // Exception must fire.
     }
 }