ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
BlockSessionRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
19
use
PHPUnit\Framework\TestCase
;
20
26
class
BlockSessionRepositoryTest
extends
TestCase
27
{
28
protected \ILIAS\Container\Block\BlockSessionRepository
$repo
;
29
30
protected
function
setUp
(): void
31
{
32
parent::setUp();
33
$this->repo = new \ILIAS\Container\Block\BlockSessionRepository();
34
}
35
36
protected
function
tearDown
(): void
37
{
38
}
39
43
public
function
testParent
(): void
44
{
45
$repo =
$this->repo
;
46
$repo->setNavPar(
"one"
,
"test"
);
47
$this->assertEquals(
48
"test"
,
49
$repo->getNavPar(
"one"
)
50
);
51
}
52
}
BlockSessionRepositoryTest\$repo
ILIAS Container Block BlockSessionRepository $repo
Definition:
BlockSessionRepositoryTest.php:28
BlockSessionRepositoryTest\testParent
testParent()
Test parent set/get.
Definition:
BlockSessionRepositoryTest.php:43
BlockSessionRepositoryTest
Test clipboard repository.
Definition:
BlockSessionRepositoryTest.php:26
BlockSessionRepositoryTest\setUp
setUp()
Definition:
BlockSessionRepositoryTest.php:30
BlockSessionRepositoryTest\tearDown
tearDown()
Definition:
BlockSessionRepositoryTest.php:36
TestCase
TestCase
components
ILIAS
Container
tests
Block
BlockSessionRepositoryTest.php
Generated on Wed Sep 3 2025 23:02:43 for ILIAS by
1.8.13 (using
Doxyfile
)