public function testDefaultDecorators() { $this->element->clearDecorators(); $this->assertEquals(array(), $this->element->getDecorators()); $this->element->setDisableLoadDefaultDecorators(true); $this->element->loadDefaultDecorators(); $this->assertEquals(array(), $this->element->getDecorators()); $this->element->setDisableLoadDefaultDecorators(false); $this->element->loadDefaultDecorators(); $this->assertNotEquals(array(), $this->element->getDecorators()); }