19 declare(strict_types=1);
25 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithStartTimeEnabledDataProvider')] 28 $settings_access = (
new SettingsAccess(0))->withStartTimeEnabled($io);
30 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
31 $this->assertEquals($io, $settings_access->getStartTimeEnabled());
42 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithStartTimeDataProvider')] 47 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
48 $this->assertEquals($io, $settings_access->getStartTime());
59 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithEndTimeEnabledDataProvider')] 62 $settings_access = (
new SettingsAccess(0))->withEndTimeEnabled($io);
64 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
65 $this->assertEquals($io, $settings_access->getEndTimeEnabled());
76 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithEndTimeDataProvider')] 81 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
82 $this->assertEquals($io, $settings_access->getEndTime());
93 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithPasswordEnabledDataProvider')] 96 $settings_access = (
new SettingsAccess(0))->withPasswordEnabled($io);
98 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
99 $this->assertEquals($io, $settings_access->getPasswordEnabled());
110 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithPasswordDataProvider')] 115 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
116 $this->assertEquals($io, $settings_access->getPassword());
128 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithFixedParticipantsDataProvider')] 131 $settings_access = (
new SettingsAccess(0))->withFixedParticipants($io);
133 $this->assertInstanceOf(SettingsAccess::class, $settings_access);
134 $this->assertEquals($io, $settings_access->getFixedParticipants());
static getAndWithEndTimeDataProvider()
testGetAndWithEndTime(?DateTimeImmutable $io)
testGetAndWithPasswordEnabled(bool $io)
static getAndWithPasswordEnabledDataProvider()
static getAndWithEndTimeEnabledDataProvider()
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static getAndWithPasswordDataProvider()
static getAndWithStartTimeDataProvider()
testGetAndWithEndTimeEnabled(bool $io)
static getAndWithFixedParticipantsDataProvider()
testGetAndWithFixedParticipants(bool $io)
testGetAndWithPassword(?string $io)
static getAndWithStartTimeEnabledDataProvider()
testGetAndWithStartTimeEnabled(bool $io)
testGetAndWithStartTime(?DateTimeImmutable $io)