19 declare(strict_types=1);
30 $settings_access = (
new SettingsAccess(0))->withStartTimeEnabled($io);
32 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
33 $this->assertEquals($io, $settings_access->getStartTimeEnabled());
51 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
52 $this->assertEquals($io, $settings_access->getStartTime());
68 $settings_access = (
new SettingsAccess(0))->withEndTimeEnabled($io);
70 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
71 $this->assertEquals($io, $settings_access->getEndTimeEnabled());
89 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
90 $this->assertEquals($io, $settings_access->getEndTime());
106 $settings_access = (
new SettingsAccess(0))->withPasswordEnabled($io);
108 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
109 $this->assertEquals($io, $settings_access->getPasswordEnabled());
127 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
128 $this->assertEquals($io, $settings_access->getPassword());
145 $settings_access = (
new SettingsAccess(0))->withFixedParticipants($io);
147 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
148 $this->assertEquals($io, $settings_access->getFixedParticipants());
static getAndWithEndTimeDataProvider()
testGetAndWithEndTime(?DateTimeImmutable $io)
getAndWithEndTimeDataProvider
testGetAndWithPasswordEnabled(bool $io)
getAndWithPasswordEnabledDataProvider
static getAndWithPasswordEnabledDataProvider()
static getAndWithEndTimeEnabledDataProvider()
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static getAndWithPasswordDataProvider()
static getAndWithStartTimeDataProvider()
testGetAndWithEndTimeEnabled(bool $io)
getAndWithEndTimeEnabledDataProvider
static getAndWithFixedParticipantsDataProvider()
testGetAndWithFixedParticipants(bool $io)
getAndWithFixedParticipantsDataProvider
testGetAndWithPassword(?string $io)
getAndWithPasswordDataProvider
static getAndWithStartTimeEnabledDataProvider()
testGetAndWithStartTimeEnabled(bool $io)
getAndWithStartTimeEnabledDataProvider
testGetAndWithStartTime(?DateTimeImmutable $io)
getAndWithStartTimeDataProvider