19 declare(strict_types=1);
50 $Settings_question_behaviour = $this->
getTestInstance()->withQuestionTitleOutputMode($io);
52 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
53 $this->assertEquals($io, $Settings_question_behaviour->getQuestionTitleOutputMode());
70 $Settings_question_behaviour = $this->
getTestInstance()->withAutosaveEnabled($io);
72 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
73 $this->assertEquals($io, $Settings_question_behaviour->getAutosaveEnabled());
89 $Settings_question_behaviour = $this->
getTestInstance()->withAutosaveInterval($io);
91 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
92 $this->assertEquals($io, $Settings_question_behaviour->getAutosaveInterval());
109 $Settings_question_behaviour = $this->
getTestInstance()->withShuffleQuestions($io);
111 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
112 $this->assertEquals($io, $Settings_question_behaviour->getShuffleQuestions());
128 $Settings_question_behaviour = $this->
getTestInstance()->withQuestionHintsEnabled($io);
130 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
131 $this->assertEquals($io, $Settings_question_behaviour->getQuestionHintsEnabled());
147 $Settings_question_behaviour = $this->
getTestInstance()->withInstantFeedbackPointsEnabled($io);
149 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
150 $this->assertEquals($io, $Settings_question_behaviour->getInstantFeedbackPointsEnabled());
166 $Settings_question_behaviour = $this->
getTestInstance()->withInstantFeedbackGenericEnabled($io);
168 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
169 $this->assertEquals($io, $Settings_question_behaviour->getInstantFeedbackGenericEnabled());
185 $Settings_question_behaviour = $this->
getTestInstance()->withInstantFeedbackSpecificEnabled($io);
187 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
188 $this->assertEquals($io, $Settings_question_behaviour->getInstantFeedbackSpecificEnabled());
204 $Settings_question_behaviour = $this->
getTestInstance()->withInstantFeedbackSolutionEnabled($io);
206 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
207 $this->assertEquals($io, $Settings_question_behaviour->getInstantFeedbackSolutionEnabled());
223 $Settings_question_behaviour = $this->
getTestInstance()->withForceInstantFeedbackOnNextQuestion($io);
225 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
226 $this->assertEquals($io, $Settings_question_behaviour->getForceInstantFeedbackOnNextQuestion());
242 $Settings_question_behaviour = $this->
getTestInstance()->withLockAnswerOnInstantFeedbackEnabled($io);
244 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
245 $this->assertEquals($io, $Settings_question_behaviour->getLockAnswerOnInstantFeedbackEnabled());
261 $Settings_question_behaviour = $this->
getTestInstance()->withLockAnswerOnNextQuestionEnabled($io);
263 $this->assertInstanceOf(SettingsQuestionBehaviour::class, $Settings_question_behaviour);
264 $this->assertEquals($io, $Settings_question_behaviour->getLockAnswerOnNextQuestionEnabled());
static getAndWithLockAnswerOnNextQuestionEnabledDataProvider()
static getAndWithForceInstantFeedbackOnNextQuestionDataProvider()
testGetAndWithLockAnswerOnInstantFeedbackEnabled(bool $io)
getAndWithLockAnswerOnInstantFeedbackEnabledDataProvider
testGetAndWithInstantFeedbackGenericEnabled(bool $io)
getAndWithInstantFeedbackGenericEnabledDataProvider
static getAndWithLockAnswerOnInstantFeedbackEnabledDataProvider()
testGetAndWithLockAnswerOnNextQuestionEnabled(bool $io)
getAndWithLockAnswerOnNextQuestionEnabledDataProvider
testGetAndWithAutosaveEnabled(bool $io)
getAndWithInstantFeedbackDataProvider
static getAndWithInstantFeedbackPointsEnabledDataProvider()
testGetAndWithInstantFeedbackSolutionEnabled(bool $io)
getAndWithInstantFeedbackSolutionEnabledDataProvider
testGetAndWithForceInstantFeedbackOnNextQuestion(bool $io)
getAndWithForceInstantFeedbackOnNextQuestionDataProvider
testGetAndWithQuestionHintsEnabled(bool $io)
getAndWithQuestionHintsEnabledDataProvider
testGetAndWithShuffleQuestions(bool $io)
getAndWithShuffleQuestionsDataProvider
testGetAndWithInstantFeedbackSpecificEnabled(bool $io)
getAndWithInstantFeedbackSpecificEnabledDataProvider
static getAndWithInstantFeedbackGenericEnabledDataProvider()
static getAndWithQuestionHintsEnabledDataProvider()
static getAndWithInstantFeedbackSpecificEnabledDataProvider()
static getAndWithShuffleQuestionsDataProvider()
testGetAndWithQuestionTitleOutputMode(int $io)
getAndWithQuestionTitleOutputModeDataProvider
static getAndWithAutosaveIntervalDataProvider()
static getAndWithInstantFeedbackDataProvider()
static getAndWithInstantFeedbackSolutionEnabledDataProvider()
testGetAndWithInstantFeedbackPointsEnabled(bool $io)
getAndWithInstantFeedbackPointsEnabledDataProvider
testGetAndWithAutosaveInterval(int $io)
getAndWithAutosaveIntervalDataProvider
static getAndWithQuestionTitleOutputModeDataProvider()