ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilBuddySystemBaseStateTestCase.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 private const RELATION_OWNER_ID = -1;
24 private const RELATION_BUDDY_ID = -2;
25
27
28 protected function setUp(): void
29 {
30 parent::setUp();
31
32 $this->relation = new ilBuddySystemRelation(
33 $this->getInitialState(),
34 self::RELATION_OWNER_ID,
35 self::RELATION_BUDDY_ID,
36 false,
37 time()
38 );
39 }
40
41 abstract public function getInitialState(): ilBuddySystemRelationState;
42}
Class ilBuddySystemRelation.
Interface ilBuddySystemRelationState.