.You also can mock application in some other custom way, for this purposes you have method → You can mock application in a different way. For this purpose you have a method [`mockApplication`](https://github.com/yiisoft/yii2/blob/master/extensions/codeception/TestCase.php#L55) available in your test case.