Definition at line 23 of file SettingsAccessTest.php.
◆ getAndWithEndTimeDataProvider()
static SettingsAccessTest::getAndWithEndTimeDataProvider |
( |
| ) |
|
|
static |
Definition at line 85 of file SettingsAccessTest.php.
85 : array
86 {
87 return [
88 [new DateTimeImmutable()],
89 [null]
90 ];
91 }
◆ getAndWithEndTimeEnabledDataProvider()
static SettingsAccessTest::getAndWithEndTimeEnabledDataProvider |
( |
| ) |
|
|
static |
◆ getAndWithFixedParticipantsDataProvider()
static SettingsAccessTest::getAndWithFixedParticipantsDataProvider |
( |
| ) |
|
|
static |
◆ getAndWithPasswordDataProvider()
static SettingsAccessTest::getAndWithPasswordDataProvider |
( |
| ) |
|
|
static |
Definition at line 119 of file SettingsAccessTest.php.
119 : array
120 {
121 return [
122 [null],
123 [''],
124 ['string']
125 ];
126 }
◆ getAndWithPasswordEnabledDataProvider()
static SettingsAccessTest::getAndWithPasswordEnabledDataProvider |
( |
| ) |
|
|
static |
◆ getAndWithStartTimeDataProvider()
static SettingsAccessTest::getAndWithStartTimeDataProvider |
( |
| ) |
|
|
static |
Definition at line 51 of file SettingsAccessTest.php.
51 : array
52 {
53 return [
54 [new DateTimeImmutable()],
55 [null]
56 ];
57 }
◆ getAndWithStartTimeEnabledDataProvider()
static SettingsAccessTest::getAndWithStartTimeEnabledDataProvider |
( |
| ) |
|
|
static |
◆ testGetAndWithEndTime()
SettingsAccessTest::testGetAndWithEndTime |
( |
?DateTimeImmutable |
$io | ) |
|
Definition at line 77 of file SettingsAccessTest.php.
77 : void
78 {
80
81 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
82 $this->assertEquals($io, $settings_access->getEndTime());
83 }
◆ testGetAndWithEndTimeEnabled()
SettingsAccessTest::testGetAndWithEndTimeEnabled |
( |
bool |
$io | ) |
|
Definition at line 60 of file SettingsAccessTest.php.
60 : void
61 {
62 $settings_access = (
new SettingsAccess(0))->withEndTimeEnabled($io);
63
64 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
65 $this->assertEquals($io, $settings_access->getEndTimeEnabled());
66 }
◆ testGetAndWithFixedParticipants()
SettingsAccessTest::testGetAndWithFixedParticipants |
( |
bool |
$io | ) |
|
Definition at line 129 of file SettingsAccessTest.php.
129 : void
130 {
131 $settings_access = (
new SettingsAccess(0))->withFixedParticipants($io);
132
133 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
134 $this->assertEquals($io, $settings_access->getFixedParticipants());
135 }
◆ testGetAndWithPassword()
SettingsAccessTest::testGetAndWithPassword |
( |
?string |
$io | ) |
|
Definition at line 111 of file SettingsAccessTest.php.
111 : void
112 {
114
115 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
116 $this->assertEquals($io, $settings_access->getPassword());
117 }
◆ testGetAndWithPasswordEnabled()
SettingsAccessTest::testGetAndWithPasswordEnabled |
( |
bool |
$io | ) |
|
Definition at line 94 of file SettingsAccessTest.php.
94 : void
95 {
96 $settings_access = (
new SettingsAccess(0))->withPasswordEnabled($io);
97
98 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
99 $this->assertEquals($io, $settings_access->getPasswordEnabled());
100 }
◆ testGetAndWithStartTime()
SettingsAccessTest::testGetAndWithStartTime |
( |
?DateTimeImmutable |
$io | ) |
|
Definition at line 43 of file SettingsAccessTest.php.
43 : void
44 {
46
47 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
48 $this->assertEquals($io, $settings_access->getStartTime());
49 }
◆ testGetAndWithStartTimeEnabled()
SettingsAccessTest::testGetAndWithStartTimeEnabled |
( |
bool |
$io | ) |
|
Definition at line 26 of file SettingsAccessTest.php.
26 : void
27 {
28 $settings_access = (
new SettingsAccess(0))->withStartTimeEnabled($io);
29
30 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
31 $this->assertEquals($io, $settings_access->getStartTimeEnabled());
32 }
The documentation for this class was generated from the following file: