/** * test configuration */ public function testConfiguration() { $this->assertEquals($this->db, $this->model->getAdapter()); $this->assertEquals(array(1 => 'id'), $this->model->info('primary')); $this->assertEquals(Zend_Registry::get('config')->resources->db->prefix . 'categories', $this->model->info('name')); $this->assertEquals(Zend_Registry::get('config')->resources->db->params->dbname, $this->model->info('schema')); $this->assertEquals(array('application_models_feeds'), $this->model->getDependentTables()); }