src/Kunstmaan/FormBundle/Tests/unit/Entity/FormSubmissionFieldTypes/ChoiceFormSubmissionFieldTest.php 1 location
|
@@ 81-87 (lines=7) @@
|
78 |
|
$this->assertTrue($object->getMultiple()); |
79 |
|
} |
80 |
|
|
81 |
|
public function testSetGetChoices() |
82 |
|
{ |
83 |
|
$object = $this->object; |
84 |
|
$choices = array('test1' => 'test1', 'test2' => 'test2'); |
85 |
|
$object->setChoices($choices); |
86 |
|
$this->assertEquals($choices, $object->getChoices()); |
87 |
|
} |
88 |
|
|
89 |
|
public function testSetGetRequired() |
90 |
|
{ |
src/Kunstmaan/FormBundle/Tests/unit/Entity/PageParts/ChoicePagePartTest.php 1 location
|
@@ 79-85 (lines=7) @@
|
76 |
|
$this->assertTrue($object->getMultiple()); |
77 |
|
} |
78 |
|
|
79 |
|
public function testSetGetChoices() |
80 |
|
{ |
81 |
|
$object = $this->object; |
82 |
|
$choices = array('test1' => 'test1', 'test2' => 'test2'); |
83 |
|
$object->setChoices($choices); |
84 |
|
$this->assertEquals($choices, $object->getChoices()); |
85 |
|
} |
86 |
|
|
87 |
|
public function testGettersAndSetters() |
88 |
|
{ |