ILIAS  release_8 Revision v8.24
BlockSessionRepositoryTest.php
Go to the documentation of this file.
1<?php
2
3use PHPUnit\Framework\TestCase;
4
10class 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 {
30 $repo->setNavPar("one", "test");
31 $this->assertEquals(
32 "test",
33 $repo->getNavPar("one")
34 );
35 }
36}
ILIAS Block BlockSessionRepository $repo