◆ clientIdProvider()
static ClientIdTest::clientIdProvider |
( |
| ) |
|
|
static |
- Returns
- array[]
Definition at line 45 of file ClientIdTest.php.
48 'single letter' => [
'c'],
49 'multiple letters' => [
'client'],
50 'single uppercase letter' => [
'C'],
51 'multiple uppercase letters' => [
'CLIENT'],
52 'single digit' => [
'1'],
53 'multiple digits' => [
'12'],
54 'letters + underscores' => [
'client_with_underscore'],
55 'letters + underscores + digits' => [
'client_with_12345'],
56 'letters + hyphens' => [
'client-with-hyphen'],
57 'dots + sharps' => [
'.#']
◆ invalidClientIdProvider()
static ClientIdTest::invalidClientIdProvider |
( |
| ) |
|
|
static |
- Returns
- array[]
Definition at line 64 of file ClientIdTest.php.
67 'path traversal' => [
'../../../../some/obscure/path'],
68 'space in between' => [
'my client'],
69 'wrapped in spaces' => [
' myclient '],
70 'umlaut' => [
'clüent'],
◆ setUp()
◆ testClientIdCannotBeCreatedByAnEmptyString()
ClientIdTest::testClientIdCannotBeCreatedByAnEmptyString |
( |
| ) |
|
Definition at line 98 of file ClientIdTest.php.
100 $this->expectException(InvalidArgumentException::class);
102 $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: