ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilBuddySystemRelationRepositoryTestCase Class Reference
+ 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

Definition at line 21 of file ilBuddySystemRelationRepositoryTestCase.php.

Member Function Documentation

◆ testSqlRepositoryDelegatesDeletionToDatabaseAbstraction()

ilBuddySystemRelationRepositoryTestCase::testSqlRepositoryDelegatesDeletionToDatabaseAbstraction ( )

Definition at line 23 of file ilBuddySystemRelationRepositoryTestCase.php.

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

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