/** * Checks if strtotitle() works with unicode strings * * @test */ public function strtotitleWorksWithUnicodeStrings() { $testString = ' öl Ist nicht das GLEICHE wie øl.'; $expectedString = ' Öl Ist Nicht Das Gleiche Wie Øl.'; $this->assertEquals($expectedString, Functions::strtotitle($testString), 'strtotitle() did not return the expected string for the unicode test.'); }