Codeception\Module\WPQueriesTest::_before PHP Метод

_before() защищенный Метод

protected _before ( )
    protected function _before()
    {
        $this->moduleContainer = $this->prophesize('Codeception\\Lib\\ModuleContainer');
        $this->moduleContainer->hasModule('WPLoader')->willReturn(true);
        $this->moduleContainer->hasModule('WPBootstrapper')->willReturn(true);
        $this->constants = $this->prophesize('tad\\WPBrowser\\Environment\\Constants');
        $this->wpdb = (object) ['queries' => []];
    }