Code Duplication    Length = 7-7 lines in 2 locations

src/Kunstmaan/FormBundle/Tests/unit/Entity/FormSubmissionFieldTypes/ChoiceFormSubmissionFieldTest.php 1 location

@@ 82-88 (lines=7) @@
79
        $this->assertTrue($object->getMultiple());
80
    }
81
82
    public function testSetGetChoices()
83
    {
84
        $object = $this->object;
85
        $choices = array('test1' => 'test1', 'test2' => 'test2');
86
        $object->setChoices($choices);
87
        $this->assertEquals($choices, $object->getChoices());
88
    }
89
90
    public function testSetGetRequired()
91
    {

src/Kunstmaan/FormBundle/Tests/unit/Entity/PageParts/ChoicePagePartTest.php 1 location

@@ 80-86 (lines=7) @@
77
        $this->assertTrue($object->getMultiple());
78
    }
79
80
    public function testSetGetChoices()
81
    {
82
        $object = $this->object;
83
        $choices = array('test1' => 'test1', 'test2' => 'test2');
84
        $object->setChoices($choices);
85
        $this->assertEquals($choices, $object->getChoices());
86
    }
87
88
    public function testGettersAndSetters()
89
    {