ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
BlockSessionRepositoryTest.php
Go to the documentation of this file.
1 <?php
2 
20 
27 {
28  protected \ILIAS\Block\BlockSessionRepository $repo;
29 
30  protected function setUp(): void
31  {
32  parent::setUp();
33  $this->repo = new \ILIAS\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 }
ILIAS Block BlockSessionRepository $repo