3declare(strict_types=1);
5use PHPUnit\Framework\TestCase;
14 protected \ILIAS\Repository\Clipboard\ClipboardSessionRepository
$clipboard;
16 protected function setUp(): void
19 $this->clipboard = new \ILIAS\Repository\Clipboard\ClipboardSessionRepository();
20 $this->clipboard->clear();
Test clipboard repository.
testParent()
Test parent set/get.
testHasEntriesCmdEmptyRefIds()
Test hasEntries returns false if empty ref ids array and cmd is given.
testCmd()
Test cmd set/get.
testRefIds()
Test ref ids set/get.
ILIAS Repository Clipboard ClipboardSessionRepository $clipboard
testHasEntriesNoCmd()
Test hasEntries returns false if ref ids, but no cmd is given.
testHasEntriesCmd()
Test hasEntries returns true if ref ids and cmd is given.