示例#1
0
 public function testCanDisableRegisteringDefaultDecoratorsDuringInitialization()
 {
     $element = new Element('foo', array('disableLoadDefaultDecorators' => true));
     $decorators = $element->getDecorators();
     $this->assertEquals(array(), $decorators);
 }