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