◆ testOrgUnitOperationConstruction()
ilModulesOrgUnitOperationTest::testOrgUnitOperationConstruction |
( |
| ) |
|
Definition at line 25 of file ilModulesOrgUnitOperationTest.php.
28 $this->assertInstanceOf(ilOrgUnitOperation::class, $operation);
29 $this->assertEquals(0, $operation->getOperationId());
30 $this->assertEquals(
'', $operation->getOperationString());
31 $this->assertEquals(
'', $operation->getDescription());
32 $this->assertEquals(0, $operation->getContextId());
33 $this->assertEquals(0, $operation->getListOrder());
◆ testOrgUnitOperationModification()
ilModulesOrgUnitOperationTest::testOrgUnitOperationModification |
( |
| ) |
|
Definition at line 36 of file ilModulesOrgUnitOperationTest.php.
References ilOrgUnitOperation\OP_MANAGE_MEMBERS.
39 $this->assertEquals(666, $operation->getOperationId());
44 $this->assertEquals(
'This is a test', $operation->withDescription(
'This is a test')->getDescription());
45 $this->assertEquals(777, $operation->withContextId(777)->getContextId());
46 $this->assertEquals(5, $operation->withListOrder(5)->getListOrder());
The documentation for this class was generated from the following file: