Datatypes\Mixed\PrevalueEditorTest::testSave PHP Method

testSave() public method

Test
public testSave ( ) : void
return void
    public function testSave()
    {
        $post = $this->object->getRequest()->getPost();
        $post->set('add-model', 'Textstring');
        $post->set('datatypes', array(1 => array('name' => 'Textstring', 'label' => 'TextstringTest', 'length' => 25)));
        $this->assertNull($this->object->save());
    }