19declare(strict_types=1);
21use PHPUnit\Framework\TestCase;
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());
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());
testOrgUnitOperationConstruction()
testOrgUnitOperationModification()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...