public function __construct($name = null, array $data = array(), $dataName = '')
{
parent::__construct($name, $data, $dataName);
if (!extension_loaded('pdo')) {
return $this->markTestSkipped('pdo extension is required for model testing');
}
// The config loader is used to initialize connection manager
$this->config = ConfigLoader::getInstance();
$this->config->loadFromSymbol(true);
$this->config->setDefaultDataSourceId($this->getDataSource());
// Always true
$configStash = $this->config->getConfigStash();
$cnofigStash['schema']['auto_id'] = true;
// free and override default connection
$this->connManager = ConnectionManager::getInstance();
$this->connManager->init($this->config);
// $config = self::createNeutralConfigLoader();
$this->logger = new Logger();
$this->logger->setQuiet();
}