ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBuddySystemBaseStateTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
27  private const RELATION_OWNER_ID = -1;
28  private const RELATION_BUDDY_ID = -2;
29 
31 
32  protected function setUp(): void
33  {
34  parent::setUp();
35 
36  $this->relation = new ilBuddySystemRelation(
37  $this->getInitialState(),
38  self::RELATION_OWNER_ID,
39  self::RELATION_BUDDY_ID,
40  false,
41  time()
42  );
43  }
44 
45  abstract public function getInitialState(): ilBuddySystemRelationState;
46 }
Class ilBuddySystemBaseStateTest.
Interface ilBuddySystemRelationState.