/**
  * Create a new TranslationParameterToken and Initialize it with a value
  *
  * @param string $value
  * @return \TYPO3\Eel\Helper\I18n\TranslationParameterToken
  */
 public function createWithValue($value)
 {
     $translationParameterToken = new TranslationParameterToken();
     return $translationParameterToken->value($value);
 }
 /**
  * @test
  * @expectedException \TYPO3\Eel\Exception
  */
 public function localeThrowsExceptionIfNoValidLocaleIdentifierIsProvided()
 {
     $translateParameterToken = new TranslationParameterToken();
     $translateParameterToken->locale('INVALIDLOCALE');
 }