19 declare(strict_types=1);
32 $this->assertInstanceOf(SettingsFinishing::class, $settings_finishing);
33 $this->assertEquals($io, $settings_finishing->getShowAnswerOverview());
49 $settings_finishing = (
new SettingsFinishing(0))->withConcludingRemarksEnabled($io);
51 $this->assertInstanceOf(SettingsFinishing::class, $settings_finishing);
52 $this->assertEquals($io, $settings_finishing->getConcludingRemarksEnabled());
67 $this->assertEquals($io, $settings_finishing->getConcludingRemarksText());
84 $settings_finishing = (
new SettingsFinishing(0))->withConcludingRemarksPageId($io);
86 $this->assertInstanceOf(SettingsFinishing::class, $settings_finishing);
87 $this->assertEquals($io, $settings_finishing->getConcludingRemarksPageId());
107 $this->assertInstanceOf(SettingsFinishing::class, $settings_finishing);
108 $this->assertEquals($io, $settings_finishing->getRedirectionMode());
127 $this->assertInstanceOf(SettingsFinishing::class, $settings_finishing);
128 $this->assertEquals($io, $settings_finishing->getRedirectionUrl());
145 $settings_finishing = (
new SettingsFinishing(0))->withMailNotificationContentType($io);
147 $this->assertInstanceOf(SettingsFinishing::class, $settings_finishing);
148 $this->assertEquals($io, $settings_finishing->getMailNotificationContentType());
165 $settings_finishing = (
new SettingsFinishing(0))->withAlwaysSendMailNotification($io);
167 $this->assertInstanceOf(SettingsFinishing::class, $settings_finishing);
168 $this->assertEquals($io, $settings_finishing->getAlwaysSendMailNotification());
testGetAndWithConcludingRemarksPageId(?int $io)
getAndWithConcludingRemarksPageIdDataProvider
testGetAndWithRedirectionUrl(?string $io)
getAndWithRedirectionUrlDataProvider
testGetAndWithConcludingRemarksText(?string $io)
getAndWithConcludingRemarksTextDataProvider
static getAndWithRedirectionModeDataProvider()
static getAndWithConcludingRemarksEnabledDataProvider()
testGetAndWithMailNotificationContentType(int $io)
getAndWithMailNotificationContentTypeDataProvider
static getAndWithConcludingRemarksTextDataProvider()
static getAndWithMailNotificationContentTypeDataProvider()
testGetAndWithShowAnswerOverview(bool $io)
getAndWithConcludingRemarksEnabledDataProvider
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
testGetAndWithConcludingRemarksEnabled(bool $io)
getAndWithConcludingRemarksEnabledDataProvider
static getAndWithConcludingRemarksPageIdDataProvider()
testGetAndWithRedirectionMode(int $io)
getAndWithRedirectionModeDataProvider
static getAndWithRedirectionUrlDataProvider()
static getAndWithAlwaysSendMailNotificationDataProvider()
testGetAndWithAlwaysSendMailNotification(bool $io)
getAndWithAlwaysSendMailNotificationDataProvider