19declare(strict_types=1);
21use PHPUnit\Framework\TestCase;
30 protected \ILIAS\Repository\Clipboard\ClipboardSessionRepository
$clipboard;
32 protected function setUp(): void
35 $this->clipboard = new \ILIAS\Repository\Clipboard\ClipboardSessionRepository();
36 $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.