19 declare(strict_types=1);
29 protected function setUp(): void
38 $this->assertInstanceOf(ilTestObjectiveOrientedContainer::class, $this->testObj);
44 $this->testObj->setObjId(
$objId);
45 $this->assertEquals(
$objId, $this->testObj->getObjId());
51 $this->testObj->setRefId(
$refId);
52 $this->assertEquals(
$refId, $this->testObj->getRefId());
57 $this->assertFalse($this->testObj->isObjectiveOrientedPresentationRequired());
59 $this->testObj->setObjId(1254);
60 $this->assertTrue($this->testObj->isObjectiveOrientedPresentationRequired());
test_instantiateObject_shouldReturnInstance()
ilTestObjectiveOrientedContainer $testObj
Class ilTestObjectiveOrientedContainerTest.
testIsObjectiveOrientedPresentationRequired()