|
@@ 796-805 (lines=10) @@
|
| 793 |
|
$this->assertFalse(isset($decorators['label'])); |
| 794 |
|
} |
| 795 |
|
|
| 796 |
|
public function testSetDecorator() |
| 797 |
|
{ |
| 798 |
|
$this->form->setDecorator('label'); |
| 799 |
|
|
| 800 |
|
$decorators = $this->form->getDecorators(); |
| 801 |
|
|
| 802 |
|
$this->assertTrue(is_array($decorators)); |
| 803 |
|
$this->assertEquals(1, count($decorators)); |
| 804 |
|
$this->assertTrue(isset($decorators['label'])); |
| 805 |
|
} |
| 806 |
|
|
| 807 |
|
public function testAddDecorator() |
| 808 |
|
{ |
|
@@ 807-816 (lines=10) @@
|
| 804 |
|
$this->assertTrue(isset($decorators['label'])); |
| 805 |
|
} |
| 806 |
|
|
| 807 |
|
public function testAddDecorator() |
| 808 |
|
{ |
| 809 |
|
$this->form->addDecorator('label'); |
| 810 |
|
|
| 811 |
|
$decorators = $this->form->getDecorators(); |
| 812 |
|
|
| 813 |
|
$this->assertTrue(is_array($decorators)); |
| 814 |
|
$this->assertEquals(1, count($decorators)); |
| 815 |
|
$this->assertTrue(isset($decorators['label'])); |
| 816 |
|
} |
| 817 |
|
|
| 818 |
|
public function testGetDecorators() |
| 819 |
|
{ |
|
@@ 818-825 (lines=8) @@
|
| 815 |
|
$this->assertTrue(isset($decorators['label'])); |
| 816 |
|
} |
| 817 |
|
|
| 818 |
|
public function testGetDecorators() |
| 819 |
|
{ |
| 820 |
|
$this->form->setDecorator('label'); |
| 821 |
|
$decorators = $this->form->getDecorators(); |
| 822 |
|
|
| 823 |
|
$this->assertTrue(is_array($decorators)); |
| 824 |
|
$this->assertEquals(1, count($decorators)); |
| 825 |
|
} |
| 826 |
|
|
| 827 |
|
public function testDecoratorFactory() |
| 828 |
|
{ |