Gc\Form\AbstractFormTest::testGetValue PHP Method

testGetValue() public method

Test
public testGetValue ( ) : void
return void
    public function testGetValue()
    {
        $this->assertNull($this->object->getValue('undefined'));
        $element = new Element\Text('text');
        $element->setValue('string');
        $this->object->add($element);
        $this->assertEquals('string', $this->object->getValue('text'));
    }