public function UnicodeTest::testLcfirst in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php \Drupal\Tests\Component\Utility\UnicodeTest::testLcfirst()
Tests multibyte lcfirst.
@dataProvider providerLcfirst @covers ::lcfirst
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ UnicodeTest.php, line 126
Class
- UnicodeTest
- Test unicode handling features implemented in Unicode component.
Namespace
Drupal\Tests\Component\UtilityCode
public function testLcfirst($text, $expected) {
$this
->assertEquals($expected, Unicode::lcfirst($text));
}