|
ILIAS Container Classification ClassificationSessionRepository | $repo |
|
◆ setUp()
ClassificationSessionRepositoryTest::setUp |
( |
| ) |
|
|
protected |
◆ tearDown()
ClassificationSessionRepositoryTest::tearDown |
( |
| ) |
|
|
protected |
◆ testUnsetAll()
ClassificationSessionRepositoryTest::testUnsetAll |
( |
| ) |
|
Definition at line 47 of file ClassificationSessionRepositoryTest.php.
47 : void
48 {
50 $repo->setValueForProvider(
"prov", [1, 2, 3]);
52 $this->assertEquals(
53 [],
54 $repo->getValueForProvider(
"prov")
55 );
56 }
ILIAS Container Classification ClassificationSessionRepository $repo
References $repo.
◆ testUnsetValueForProvider()
ClassificationSessionRepositoryTest::testUnsetValueForProvider |
( |
| ) |
|
Definition at line 58 of file ClassificationSessionRepositoryTest.php.
58 : void
59 {
61 $repo->setValueForProvider(
"prov1", [1, 2, 3]);
62 $repo->setValueForProvider(
"prov2", [3, 4, 5]);
63 $repo->unsetValueForProvider(
"prov1");
64 $this->assertEquals(
65 [],
66 $repo->getValueForProvider(
"prov1")
67 );
68 $this->assertEquals(
69 [3, 4, 5],
70 $repo->getValueForProvider(
"prov2")
71 );
72 }
References $repo.
◆ testValueForProvider()
ClassificationSessionRepositoryTest::testValueForProvider |
( |
| ) |
|
◆ $repo
ILIAS Container Classification ClassificationSessionRepository ClassificationSessionRepositoryTest::$repo |
|
protected |
The documentation for this class was generated from the following file: