public function testStrategyGetShard() { $strategy = $this->_db->getScaleStrategy('users'); $shard = $strategy->getShard(1); $config = $shard->getConfig(); $this->assertEquals(get_class($shard), 'Zend_Db_Adapter_Pdo_Mysql'); $this->assertEquals($config['dbname'], 'test0'); }