protected function loadConfiguration()
 {
     $this->legacy_synchro_at = date('Y-m-d H:i:s');
     $this->akilia2Db = $this->setup->getSynchronizerConfig('db_akilia2');
     $this->openstoreDb = $this->setup->getDatabaseAdapter()->getCurrentSchema();
     $this->akilia1Db = $this->setup->getSynchronizerConfig('db_akilia1');
     $this->intelaccessDb = $this->setup->getSynchronizerConfig('db_intelaccess');
     $this->akilia1lang = $this->setup->getSynchronizerConfig('akilia1_language_map');
     $this->default_language = $this->setup->getSynchronizerConfig('default_language');
     $this->default_language_sfx = $this->akilia1lang[$this->default_language];
 }
 /**
  * 
  * @param OpenstoreAkiliaSetup $setup
  */
 public function __construct(OpenstoreAkiliaSetup $setup)
 {
     $this->setup = $setup;
     $this->adapter = $setup->getDatabaseAdapter();
     $this->dbExecuter = new DbExecuter($this->adapter);
     $this->legacy_synchro_at = date('Y-m-d H:i:s');
 }
 /**
  * @covers OpenstoreAkilia\Config\OpenstoreAkiliaSetup::getDatabaseAdapter
  */
 public function testGetDatabaseAdapter()
 {
     $adapter = $this->setup->getDatabaseAdapter();
     $this->assertInstanceOf('Zend\\Db\\Adapter\\Adapter', $adapter);
 }