public function setUploadFolderPath($absolutePath)
    {
        if (!empty($this->dummyFiles) || !empty($this->dummyFolders)) {
            throw new Exception(
                'The upload folder path must not be changed if there are already dummy files or folders.',
                1334439424
            );
        }

        $this->uploadFolderPath = $absolutePath;
    }
public function setUploadFolderPath($absolutePath)
    {
        if (!empty($this->dummyFiles) || !empty($this->dummyFolders)) {
            throw new Exception(
                'The upload folder path must not be changed if there are already dummy files or folders.',
                1334439424
            );
        }

        $this->uploadFolderPath = $absolutePath;
    }
public function setUploadFolderPath ( $ absolutePath ) { if ( ! empty ( $ this -> dummyFiles ) || ! empty ( $ this -> dummyFolders ) ) { throw new Exception ( 'The upload folder path must not be changed if there are already dummy files or folders.' , 1334439424 ) ; } $ this -> uploadFolderPath = $ absolutePath ; }
Sets the upload folder path.

@param string $absolutePath
absolute path to the folder where to work on during the tests, can
be either an existing folder which will be cleaned up after the
tests or a path of a folder to be created as soon as it is needed
and deleted during cleanUp, must end with a trailing slash

@return void

@throws Exception
if there are dummy files within the current upload folder as
these files could not be deleted if the upload folder path has
changed
Sets the upload folder path .