ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilBuddySystemBaseStateTest.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/Contact/BuddySystem/test/ilBuddySystemBaseTest.php';
5 
11 {
12  const RELATION_OWNER_ID = -1;
13  const RELATION_BUDDY_ID = -2;
14 
18  protected $backupGlobals = false;
19 
23  protected $relation;
24 
28  public function setUp()
29  {
30  $this->relation = new ilBuddySystemRelation($this->getInitialState());
31  $this->relation->setUserId(self::RELATION_OWNER_ID);
32  $this->relation->setBuddyUserId(self::RELATION_BUDDY_ID);
33  }
34 
38  abstract public function getInitialState();
39 }
Class ilBuddySystemBaseStateTest.
Class ilBuddySystemRelation.