ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilBuddySystemRelationRepositoryTestCase Class Reference

Class ilBuddySystemRelationRepositoryTest. More...

+ Inheritance diagram for ilBuddySystemRelationRepositoryTestCase:
+ Collaboration diagram for ilBuddySystemRelationRepositoryTestCase:

Public Member Functions

 testSqlRepositoryDelegatesDeletionToDatabaseAbstraction ()
 

Additional Inherited Members

- Protected Member Functions inherited from ilBuddySystemBaseTestCase
 setUp ()
 
 tearDown ()
 
 setGlobalVariable (string $name, mixed $value)
 

Detailed Description

Class ilBuddySystemRelationRepositoryTest.

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de

Definition at line 25 of file ilBuddySystemRelationRepositoryTestCase.php.

Member Function Documentation

◆ testSqlRepositoryDelegatesDeletionToDatabaseAbstraction()

ilBuddySystemRelationRepositoryTestCase::testSqlRepositoryDelegatesDeletionToDatabaseAbstraction ( )

Definition at line 27 of file ilBuddySystemRelationRepositoryTestCase.php.

27  : void
28  {
29  $db = $this->createMock(ilDBInterface::class);
30  $db->expects($this->exactly(2))
31  ->method('manipulateF')
32  ->with($this->stringContains('DELETE FROM'));
33 
34  $repo = new ilBuddySystemRelationRepository(4711, $db);
35  $repo->destroy();
36  }
Class ilBuddySystemRelationRepository.

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