public function testCreateConnection() { $this->assertFalse($this->_model->createConnection('test_false', 'test', 'test')); $this->assertInstanceOf('Varien_Db_Adapter_Pdo_Mysql', $this->_model->createConnection('test', 'pdo_mysql', Mage::getConfig()->getNode('global/resources/default_setup/connection')->asArray())); }