ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
BlockSessionRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
3
use PHPUnit\Framework\TestCase;
4
10
class
BlockSessionRepositoryTest
extends
TestCase
11
{
12
protected \ILIAS\Block\BlockSessionRepository
$repo
;
13
14
protected
function
setUp
(): void
15
{
16
parent::setUp();
17
$this->repo = new \ILIAS\Block\BlockSessionRepository();
18
}
19
20
protected
function
tearDown
(): void
21
{
22
}
23
27
public
function
testParent
(): void
28
{
29
$repo
=
$this->repo
;
30
$repo
->setNavPar(
"one"
,
"test"
);
31
$this->assertEquals(
32
"test"
,
33
$repo
->getNavPar(
"one"
)
34
);
35
}
36
}
BlockSessionRepositoryTest
Test clipboard repository.
Definition:
BlockSessionRepositoryTest.php:11
BlockSessionRepositoryTest\tearDown
tearDown()
Definition:
BlockSessionRepositoryTest.php:20
BlockSessionRepositoryTest\testParent
testParent()
Test parent set/get.
Definition:
BlockSessionRepositoryTest.php:27
BlockSessionRepositoryTest\$repo
ILIAS Block BlockSessionRepository $repo
Definition:
BlockSessionRepositoryTest.php:12
BlockSessionRepositoryTest\setUp
setUp()
Definition:
BlockSessionRepositoryTest.php:14
Services
Block
test
BlockSessionRepositoryTest.php
Generated on Sun Nov 2 2025 22:01:29 for ILIAS by
1.9.4 (using
Doxyfile
)