ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilBuddySystemBaseStateTest.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
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
16 protected $backupGlobals = false;
17
19 protected $relation;
20
24 public function setUp() : void
25 {
26 $this->relation = new ilBuddySystemRelation($this->getInitialState());
27 $this->relation->setUsrId(self::RELATION_OWNER_ID);
28 $this->relation->setBuddyUsrId(self::RELATION_BUDDY_ID);
29 }
30
34 abstract public function getInitialState() : ilBuddySystemRelationState;
35}
An exception for terminatinating execution or to throw for unit testing.
Class ilBuddySystemBaseStateTest.
Class ilBuddySystemRelation.
Interface ilBuddySystemRelationState.