19declare(strict_types=1);
25 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithUsePreviousAnswerAllowedDataProvider')]
30 $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
31 $this->assertEquals($io, $Settings_participant_functionality->getUsePreviousAnswerAllowed());
42 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithSuspendTestAllowedDataProvider')]
47 $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
48 $this->assertEquals($io, $Settings_participant_functionality->getSuspendTestAllowed());
59 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithPostponedQuestionsMoveToEndDataProvider')]
64 $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
65 $this->assertEquals($io, $Settings_participant_functionality->getPostponedQuestionsMoveToEnd());
76 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithQuestionListEnabledDataProvider')]
81 $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
82 $this->assertEquals($io, $Settings_participant_functionality->getQuestionListEnabled());
93 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithUsrPassOverviewModeDataProvider')]
98 $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
99 $this->assertEquals($io, $Settings_participant_functionality->getUsrPassOverviewMode());
111 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithUsrPassOverviewEnabledDataProvider')]
115 $Settings_participant_functionality = $Settings_participant_functionality->withQuestionMarkingEnabled($io);
117 $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
118 $this->assertEquals($io, $Settings_participant_functionality->getQuestionMarkingEnabled());
testGetAndWithPostponedQuestionsMoveToEnd(bool $io)
static getAndWithUsePreviousAnswerAllowedDataProvider()
testGetAndWithUsePreviousAnswerAllowed(bool $io)
static getAndWithPostponedQuestionsMoveToEndDataProvider()
static getAndWithUsrPassOverviewModeDataProvider()
testGetAndWithUsrPassOverviewMode(int $io)
static getAndWithQuestionListEnabledDataProvider()
testGetAndWithQuestionMarkingEnabled(bool $io)
static getAndWithUsrPassOverviewEnabledDataProvider()
testGetAndWithSuspendTestAllowed(bool $io)
static getAndWithSuspendTestAllowedDataProvider()
testGetAndWithQuestionListEnabled(bool $io)