19use PHPUnit\Framework\TestCase;
40 protected function setUp(): void
51 protected function initDBMock(): \PHPUnit\Framework\MockObject\MockObject
53 $db_mock = $this->createMock(ilDBInterface::class);
64 $db_mock->expects($this->once())
66 ->with($this->stringContains(
'DELETE FROM notification WHERE user_id ='));
Customizing of pimple-DIC for ILIAS.
Test clipboard repository.
setGlobalVariable(string $name, $value)
static removeForUser(int $user_id)
Remove all notifications for given user.