miloschumanunit\highcharts\BaseTestCase::mockWebApplication PHP Method

mockWebApplication() protected method

protected mockWebApplication ( $config = [], $appClass = '\yii\web\Application' )
    protected function mockWebApplication($config = [], $appClass = '\\yii\\web\\Application')
    {
        new $appClass(ArrayHelper::merge(['id' => 'testapp', 'basePath' => __DIR__, 'vendorPath' => $this->getVendorPath(), 'components' => ['request' => ['cookieValidationKey' => 'wefJDF8sfdsfSDefwqdxj9oq', 'scriptFile' => __DIR__ . '/index.php', 'scriptUrl' => '/index.php']]], $config));
    }