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