ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
BackgroundTasks\Implementation\Observer\BasicObserverTest Class Reference
+ Inheritance diagram for BackgroundTasks\Implementation\Observer\BasicObserverTest:
+ Collaboration diagram for BackgroundTasks\Implementation\Observer\BasicObserverTest:

Public Member Functions

 testCheckIntegrity ()
 

Detailed Description

Definition at line 36 of file BasicObserverTestTBD.php.

Member Function Documentation

◆ testCheckIntegrity()

BackgroundTasks\Implementation\Observer\BasicObserverTest::testCheckIntegrity ( )

Definition at line 38 of file BasicObserverTestTBD.php.

38 : void
39 {
40 $this->expectException(Exception::class);
41
42 $observer = new BasicBucket();
43 $observer->setTask(new DownloadInteger());
44 BasicPersistence::instance($this->createMock(\ilDBInterface::class))->saveBucketAndItsTasks($observer);
45 }

References ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\instance().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: