Datatypes\jQueryFileUpload\EditorTest::testSave PHP Method

testSave() public method

Test
public testSave ( ) : void
return void
    public function testSave()
    {
        copy(__DIR__ . '/_files/test-source.bmp', __DIR__ . '/_files/test.bmp');
        $this->object->getRequest()->getPost()->set($this->object->getName(), array(array('name' => ''), array('name' => '../tests/library/Datatypes/jQueryFileUpload/_files/test.jpg'), array('name' => '../tests/library/Datatypes/jQueryFileUpload/_files/test.bmp')));
        $this->object->setConfig(array('is_multiple' => true, 'mime_list' => array('image/gif', 'image/jpeg', 'image/png')));
        $this->object->save();
        $result = $this->object->getValue();
        $this->assertInternalType('string', $this->object->getValue());
    }