ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
BasicObserverTest.php
Go to the documentation of this file.
1 <?php
26 
32 
33 require_once("libs/composer/vendor/autoload.php");
34 
35 class BasicObserverTest extends MockeryTestCase
36 {
37  public function testCheckIntegrity()
38  {
39  $this->expectException(Exception::class);
40 
41  $observer = new BasicBucket();
42  $observer->setTask(new DownloadInteger());
43  BasicPersistence::instance($this->createMock(\ilDBInterface::class))->saveBucketAndItsTasks($observer);
44  }
45 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...