26    protected function setUp() : void
 
   35        $this->expectException(\InvalidArgumentException::class);
 
   36        $this->expectExceptionMessage(
'stakeholder ids MUST be shorter or equal to than 64 characters');
 
   40        $this->stakeholder_repository->register($this->identification, $stakeholder);
 
   45        $this->expectException(\InvalidArgumentException::class);
 
   46        $this->expectExceptionMessage(
'stakeholder classnames MUST be shorter or equal to than 250 characters');
 
   51        $this->stakeholder_repository->register($this->identification, $stakeholder);
 
   61            protected $stakeholder_id = 
'the_ludicrous_long_identification_string_of_a_resource_stakeholder';
 
   62            protected $stakeholder_classname = 
'This\Is\A\Very\Long\Class\Name\Which\Can\Not\Be\Handled\As\A\Propper\Stakeholder\In\The\ILIAS\Resource\Storage\Service';
 
   64            public function __construct(?
string $stakeholder_id = 
null, ?
string $stakeholder_classname = 
null)
 
   66                $this->stakeholder_id = $stakeholder_id ?? $this->stakeholder_id;
 
   67                $this->stakeholder_classname = $stakeholder_classname ?? $this->stakeholder_classname;
 
   70            public function getId() : 
string 
   72                return $this->stakeholder_id;
 
   75            public function getConsumerNameForPresentation() : 
string 
   80            public function getFullyQualifiedClassName() : 
string 
   82                return $this->stakeholder_classname;
 
  100            public function getOwnerOfNewResources() : 
int 
An exception for terminatinating execution or to throw for unit testing.
Class ResourceBuilderTest.
Interface Identification.
Class StakeholderRepositoryTests.
getResourceStakeholder(?string $stakeholder_id=null, ?string $stakeholder_classname=null)
Interface StakeholderDBRepository.
__construct($a_client_id=0)
Constructor setup ILIAS global object @access public.
Interface ResourceStakeholder.