3 declare(strict_types=1);
29 protected function setUp(): void
38 $this->assertInstanceOf(ilRandomTestData::class, $this->testObj);
44 $this->assertEquals(0, $testObj->
__get(
"count"));
45 $this->assertEquals(
"", $testObj->
__get(
"qpl"));
47 $this->assertEquals(150, $this->testObj->__get(
"count"));
48 $this->assertEquals(
"testString", $this->testObj->__get(
"qpl"));
50 $this->assertNull($testObj->
__get(
"abcd"));
55 $this->testObj->__set(
"count", 1125);
56 $this->assertEquals(1125, $this->testObj->__get(
"count"));
58 $this->testObj->__set(
"qpl",
"ttt");
59 $this->assertEquals(
"ttt", $this->testObj->__get(
"qpl"));
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilRandomTestData $testObj
test_instantiateObject_shouldReturnInstance()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...