ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
BlockSessionRepositoryTest.php
Go to the documentation of this file.
1<?php
2
19use PHPUnit\Framework\TestCase;
20
26class 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 {
46 $repo->setNavPar("one", "test");
47 $this->assertEquals(
48 "test",
49 $repo->getNavPar("one")
50 );
51 }
52}
ILIAS Container Block BlockSessionRepository $repo