/**
  * Create connection adapter instance
  *
  * @param array $connectionConfig
  * @return \Magento\Framework\DB\Adapter\AdapterInterface
  * @throws \InvalidArgumentException
  */
 public function create(array $connectionConfig)
 {
     $connection = parent::create($connectionConfig);
     if ($connection) {
         /** @var \Magento\Framework\App\Cache\Type\FrontendPool $pool */
         $pool = $this->objectManager->get('Magento\\Framework\\App\\Cache\\Type\\FrontendPool');
         $connection->setCacheAdapter($pool->get(DdlCache::TYPE_IDENTIFIER));
     }
     return $connection;
 }
 /**
  * @param array $config
  * @dataProvider dataProviderCreateNoActiveConfig
  */
 public function testCreateNoActiveConfig($config)
 {
     $this->assertNull($this->model->create($config));
 }