original_string: public function createDummyFile($fileName = 'test.txt', $content = '')
      {
          $this->createDummyUploadFolder();
          $uniqueFileName = $this->getUniqueFileOrFolderPath($fileName);
  
          if (!GeneralUtility::writeFile($uniqueFileName, $content)) {
              throw new Exception('The file ' . $uniqueFileName . ' could not be created.', 1334439291);
          }
  
          $this->addToDummyFileList($uniqueFileName);
  
          return $uniqueFileName;
      }
code: public function createDummyFile($fileName = 'test.txt', $content = '')
      {
          $this->createDummyUploadFolder();
          $uniqueFileName = $this->getUniqueFileOrFolderPath($fileName);
  
          if (!GeneralUtility::writeFile($uniqueFileName, $content)) {
              throw new Exception('The file ' . $uniqueFileName . ' could not be created.', 1334439291);
          }
  
          $this->addToDummyFileList($uniqueFileName);
  
          return $uniqueFileName;
      }
code_tokens: public function createDummyFile ( $ fileName = 'test.txt' , $ content = '' ) { $ this -> createDummyUploadFolder ( ) ; $ uniqueFileName = $ this -> getUniqueFileOrFolderPath ( $ fileName ) ; if ( ! GeneralUtility :: writeFile ( $ uniqueFileName , $ content ) ) { throw new Exception ( 'The file ' . $ uniqueFileName . ' could not be created.' , 1334439291 ) ; } $ this -> addToDummyFileList ( $ uniqueFileName ) ; return $ uniqueFileName ; }
docstring: Creates an empty dummy file with a unique file name in the calling
  extension's upload directory.
  
  @param string $fileName
  path of the dummy file to create, relative to the calling
  extension's upload directory, must not be empty
  @param string $content
  string content for the file to create, may be empty
  
  @return string
  the absolute path of the created dummy file, will not be empty
  
  @throws Exception
docstring_tokens: Creates an empty dummy file with a unique file name in the calling extension s upload directory .