function helperTestUcFirst() {
$testcase = array(
'tHe QUIcK bRoWn' => 'THe QUIcK bRoWn',
'françAIS' => 'FrançAIS',
'über' => 'Über',
'åwesome' => 'Åwesome',
);
if ($this->extendedMode) {
$testcase['σion'] = 'Σion';
}
foreach ($testcase as $input => $output) {
$this
->assertEqual(drupal_ucfirst($input), $output, format_string('%input is ucfirst-ed as %output', array(
'%input' => $input,
'%output' => $output,
)));
}
}