public function SimpleFbConnectUserManagerTest::generateUniqueUsernameWithNoConflictsDataProvider in Simple FB Connect 8.3
Data provider for testGenerateUniqueUsernameWithNoConflicts().
Return value
array Nested arrays of values to check.
See also
::testGenerateUniqueUsernameWithNoConflicts()
File
- tests/
src/ Unit/ SimpleFbConnectUserManagerTest.php, line 313
Class
- SimpleFbConnectUserManagerTest
- @coversDefaultClass Drupal\simple_fb_connect\SimpleFbConnectUserManager @group simple_fb_connect
Namespace
Drupal\Tests\simple_fb_connect\UnitCode
public function generateUniqueUsernameWithNoConflictsDataProvider() {
return [
[
'Firstname Lastname',
'Firstname Lastname',
],
[
'Space Between',
'Space Between',
],
[
' Leading Whitespace',
'Leading Whitespace',
],
[
'Trailing Whitespace ',
'Trailing Whitespace',
],
[
' Whitespace and Spaces ',
'Whitespace and Spaces',
],
[
'The length of this string is very long and it easily exceeds the maximum',
'The length of this string is very long and it easily exceeds',
],
];
}