ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestObjectiveOrientedContainerTest Class Reference

Class ilTestObjectiveOrientedContainerTest. More...

+ Inheritance diagram for ilTestObjectiveOrientedContainerTest:
+ Collaboration diagram for ilTestObjectiveOrientedContainerTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testObjId ()
 
 testRefId ()
 
 testIsObjectiveOrientedPresentationRequired ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 
 setGlobalVariable (string $name, $value)
 
 getGlobalTemplateMock ()
 
 getDatabaseMock ()
 
 getIliasMock ()
 
 addGlobal_ilAccess ()
 
 addGlobal_ilUser ()
 
 addGlobal_objDefinition ()
 
 addGlobal_tree ()
 
 addGlobal_ilSetting ()
 
 addGlobal_rbacsystem ()
 
 addGlobal_ilRbacAdmin ()
 
 addGlobal_ilCtrl ()
 
 addGlobal_lng ()
 
 addGlobal_filesystem ()
 
 addGlobal_upload ()
 
 addGlobal_ilDB ()
 
 addGlobal_ilBench ()
 
 addGlobal_ilLog ()
 
 addGlobal_ilias ()
 
 addGlobal_ilErr ()
 
 addGlobal_GlobalScreenService ()
 
 addGlobal_ilNavigationHistory ()
 
 addGlobal_ilAppEventHandler ()
 
 addGlobal_tpl ()
 
 addGlobal_ilComponentRepository ()
 
 addGlobal_ilComponentFactory ()
 
 addGlobal_ilTabs ()
 
 addGlobal_ilObjDataCache ()
 
 addGlobal_ilLocator ()
 
 addGlobal_rbacreview ()
 
 addGlobal_ilToolbar ()
 
 addGlobal_http ()
 
 addGlobal_ilIliasIniFile ()
 
 addGlobal_ilLoggerFactory ()
 
 addGlobal_ilHelp ()
 
 addGlobal_ui ()
 
 addGlobal_uiFactory ()
 
 addGlobal_uiRenderer ()
 
 addGlobal_refinery ()
 
 addGlobal_skillService ()
 
 addGlobal_objectService ()
 
 addGlobal_resourceStorage ()
 
 getTestObjMock ()
 

Private Attributes

ilTestObjectiveOrientedContainer $testObj
 

Additional Inherited Members

- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Member Function Documentation

◆ setUp()

ilTestObjectiveOrientedContainerTest::setUp ( )
protected

Definition at line 29 of file ilTestObjectiveOrientedContainerTest.php.

29  : void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestObjectiveOrientedContainer();
34  }

◆ test_instantiateObject_shouldReturnInstance()

ilTestObjectiveOrientedContainerTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 36 of file ilTestObjectiveOrientedContainerTest.php.

36  : void
37  {
38  $this->assertInstanceOf(ilTestObjectiveOrientedContainer::class, $this->testObj);
39  }

◆ testIsObjectiveOrientedPresentationRequired()

ilTestObjectiveOrientedContainerTest::testIsObjectiveOrientedPresentationRequired ( )

Definition at line 53 of file ilTestObjectiveOrientedContainerTest.php.

53  : void
54  {
55  $this->assertFalse($this->testObj->isObjectiveOrientedPresentationRequired());
56 
57  $this->testObj->setObjId(1254);
58  $this->assertTrue($this->testObj->isObjectiveOrientedPresentationRequired());
59  }

◆ testObjId()

ilTestObjectiveOrientedContainerTest::testObjId ( )

Definition at line 41 of file ilTestObjectiveOrientedContainerTest.php.

41  : void
42  {
43  $this->testObj->setObjId(125);
44  $this->assertEquals(125, $this->testObj->getObjId());
45  }

◆ testRefId()

ilTestObjectiveOrientedContainerTest::testRefId ( )

Definition at line 47 of file ilTestObjectiveOrientedContainerTest.php.

47  : void
48  {
49  $this->testObj->setRefId(125);
50  $this->assertEquals(125, $this->testObj->getRefId());
51  }

Field Documentation

◆ $testObj

ilTestObjectiveOrientedContainer ilTestObjectiveOrientedContainerTest::$testObj
private

Definition at line 27 of file ilTestObjectiveOrientedContainerTest.php.


The documentation for this class was generated from the following file: