◆ clientIdProvider()
ClientIdTest::clientIdProvider |
( |
| ) |
|
- Returns
- array[]
Definition at line 31 of file ClientIdTest.php.
34 'single letter' => [
'c'],
35 'multiple letters' => [
'client'],
36 'single uppercase letter' => [
'C'],
37 'multiple uppercase letters' => [
'CLIENT'],
38 'single digit' => [
'1'],
39 'multiple digits' => [
'12'],
40 'letters + underscores' => [
'client_with_underscore'],
41 'letters + underscores + digits' => [
'client_with_12345'],
42 'letters + hyphens' => [
'client-with-hyphen'],
43 'dots + sharps' => [
'.#']
◆ invalidClientIdProvider()
ClientIdTest::invalidClientIdProvider |
( |
| ) |
|
- Returns
- array[]
Definition at line 50 of file ClientIdTest.php.
53 'path traversal' => [
'../../some/obscure/path'],
54 'space in between' => [
'my client'],
55 'wrapped in spaces' => [
' myclient '],
56 'umlaut' => [
'clüent'],
◆ setUp()
◆ testClientIdCannotBeCreatedByAnEmptyString()
ClientIdTest::testClientIdCannotBeCreatedByAnEmptyString |
( |
| ) |
|
Definition at line 84 of file ClientIdTest.php.
86 $this->expectException(InvalidArgumentException::class);
88 $this->f->clientId(
'');
◆ testInvalidArguments()
ClientIdTest::testInvalidArguments |
( |
string |
$value | ) |
|
◆ testValidArguments()
ClientIdTest::testValidArguments |
( |
string |
$value | ) |
|
◆ $f
The documentation for this class was generated from the following file: