private function loadFixtures($test)
    {
        $this->debugSection('Fixtures', 'Loading fixtures');
        if (empty($this->loadedFixtures)
            && method_exists($test, $this->_getConfig('fixturesMethod'))
        ) {
            $connectionWatcher = new Yii2Connector\ConnectionWatcher();
            $connectionWatcher->start();
            $this->haveFixtures(call_user_func([$test, $this->_getConfig('fixturesMethod')]));
            $connectionWatcher->stop();
            $connectionWatcher->closeAll();
        }
        $this->debugSection('Fixtures', 'Done');
    }
private function loadFixtures($test)
    {
        $this->debugSection('Fixtures', 'Loading fixtures');
        if (empty($this->loadedFixtures)
            && method_exists($test, $this->_getConfig('fixturesMethod'))
        ) {
            $connectionWatcher = new Yii2Connector\ConnectionWatcher();
            $connectionWatcher->start();
            $this->haveFixtures(call_user_func([$test, $this->_getConfig('fixturesMethod')]));
            $connectionWatcher->stop();
            $connectionWatcher->closeAll();
        }
        $this->debugSection('Fixtures', 'Done');
    }
private function loadFixtures ( $ test ) { $ this -> debugSection ( 'Fixtures' , 'Loading fixtures' ) ; if ( empty ( $ this -> loadedFixtures ) && method_exists ( $ test , $ this -> _getConfig ( 'fixturesMethod' ) ) ) { $ connectionWatcher = new Yii2Connector \ ConnectionWatcher ( ) ; $ connectionWatcher -> start ( ) ; $ this -> haveFixtures ( call_user_func ( [ $ test , $ this -> _getConfig ( 'fixturesMethod' ) ] ) ) ; $ connectionWatcher -> stop ( ) ; $ connectionWatcher -> closeAll ( ) ; } $ this -> debugSection ( 'Fixtures' , 'Done' ) ; }
load fixtures before db transaction

@param mixed $test instance of test class
load fixtures before db transaction