ILIAS
release_8 Revision v8.23
◀ 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\testParent
testParent()
Test parent set/get.
Definition:
BlockSessionRepositoryTest.php:27
BlockSessionRepositoryTest
Test clipboard repository.
Definition:
BlockSessionRepositoryTest.php:10
BlockSessionRepositoryTest\setUp
setUp()
Definition:
BlockSessionRepositoryTest.php:14
BlockSessionRepositoryTest\$repo
ILIAS Block BlockSessionRepository $repo
Definition:
BlockSessionRepositoryTest.php:12
BlockSessionRepositoryTest\tearDown
tearDown()
Definition:
BlockSessionRepositoryTest.php:20
TestCase
Services
Block
test
BlockSessionRepositoryTest.php
Generated on Wed Sep 3 2025 22:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)