/**
  * Returns the reference to a 'resource' in TypoScript.
  * This could be from the filesystem if '/' is found in the value $fileFromSetup, else from the resource-list
  *
  * @param string $file TypoScript "resource" data type value.
  *
  * @return string Resulting filename, if any.
  */
 public static function getFileName($file)
 {
     tx_rnbase::load('tx_rnbase_util_Templates');
     return tx_rnbase_util_Templates::getTSTemplate()->getFileName($file);
 }
 public function tearDown()
 {
     tx_rnbase_util_Templates::getTSTemplate()->getFileName_backPath = $this->backup['getFileName_backPath'];
 }