ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
4require_once 'Services/Contact/BuddySystem/test/ilBuddySystemBaseTest.php';
5
11{
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 function getInitialState();
39}
An exception for terminatinating execution or to throw for unit testing.
Class ilBuddySystemBaseStateTest.
Class ilBuddySystemRelation.