/** * Tests whether getting and setting the template name works. * * @return void */ public function testTemplate() { $this->assertSame(array('default'), $this->fixture->getTemplates()); DocBlox_Core_Abstract::config()->templates->test = new Zend_Config(array()); DocBlox_Core_Abstract::config()->templates->test2 = new Zend_Config(array()); $this->fixture->setTemplates('test'); $this->assertEquals(array('test'), $this->fixture->getTemplates()); $this->fixture->setTemplates(array('test', 'test2')); $this->assertEquals(array('test', 'test2'), $this->fixture->getTemplates()); }