function UnicodeTest::testUcwords
Tests multibyte ucwords.
@dataProvider providerUcwords
@covers ::ucwords
File
-
core/
tests/ Drupal/ Tests/ Component/ Utility/ UnicodeTest.php, line 157
Class
- UnicodeTest
- Test unicode handling features implemented in Unicode component.
Namespace
Drupal\Tests\Component\UtilityCode
public function testUcwords($text, $expected) {
$this->assertEquals($expected, Unicode::ucwords($text));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.