Пример #1
0
 /**
  * Checks if our version of strtolower can at least handle some common special chars
  *
  * @test
  */
 public function strtolowerWorksWithCertainSpecialChars()
 {
     $testString = 'HERE ARE SOME CHARACTERS: ÄÖÜÄÖÜßÉÈÊÅÅØØÆÆŒŒ ...';
     $expectedResult = 'here are some characters: äöüäöüßéèêååøøæ朜 ...';
     $result = \TYPO3\FLOW3\Utility\Unicode\Functions::strtolower($testString);
     $this->assertEquals($expectedResult, $result, 'strtolower() could not convert our selection of special characters.');
 }