Class ilTestQuestionRelatedObjectivesListTest.
More...
◆ setUp()
ilTestQuestionRelatedObjectivesListTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
ilTestQuestionRelatedObjectivesListTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testAddQuestionRelatedObjectives()
ilTestQuestionRelatedObjectivesListTest::testAddQuestionRelatedObjectives |
( |
| ) |
|
Definition at line 41 of file ilTestQuestionRelatedObjectivesListTest.php.
46 1236 => [9, 10, 11, 12],
47 12 => [13, 14, 15, 16]
49 foreach ($expected as $key => $value) {
50 $this->testObj->addQuestionRelatedObjectives($key, $value);
52 $this->assertEquals($value, $this->testObj->getQuestionRelatedObjectives($key));
◆ testHasQuestionRelatedObjectives()
ilTestQuestionRelatedObjectivesListTest::testHasQuestionRelatedObjectives |
( |
| ) |
|
Definition at line 56 of file ilTestQuestionRelatedObjectivesListTest.php.
61 1236 => [9, 10, 11, 12],
64 foreach ($expected as $key => $value) {
65 $this->testObj->addQuestionRelatedObjectives($key, $value);
67 $this->assertEquals((
bool) count($value), $this->testObj->hasQuestionRelatedObjectives($key));
◆ $testObj
The documentation for this class was generated from the following file: