19declare(strict_types=1);
29 protected function setUp(): void
35 $this->createMock(ilObjTest::class),
37 $DIC[
'resource_storage'],
46 $this->assertInstanceOf(ilTestResultsToXML::class, $this->testObj);
51 $this->testObj->setIncludeRandomTestQuestionsEnabled(
false);
52 $this->assertFalse($this->testObj->isIncludeRandomTestQuestionsEnabled());
54 $this->testObj->setIncludeRandomTestQuestionsEnabled(
true);
55 $this->assertTrue($this->testObj->isIncludeRandomTestQuestionsEnabled());
Class ilTestResultsToXMLTest.
ilTestResultsToXML $testObj
test_instantiateObject_shouldReturnInstance()
testIncludeRandomTestQuestionsEnabled()