Datatypes\ImageCropper\EditorTest::testSave PHP Method

testSave() public method

Test
public testSave ( ) : void
return void
    public function testSave()
    {
        $_FILES = array($this->object->getName() => array('name' => __DIR__ . '/_files/test.jpg', 'type' => 'plain/text', 'size' => 8, 'tmp_name' => __DIR__ . '/_files/test.jpg', 'error' => 0));
        $this->object->save();
        $this->assertInternalType('string', $this->object->getValue());
        $this->removeDirectories();
    }