19 declare(strict_types=1);
35 protected function setUp(): void
44 $obj_test = $this->getMockBuilder(\ilObjTest::class)
45 ->disableOriginalConstructor()
49 $actions = $this->getMockBuilder(QuestionsTableActions::class)
50 ->disableOriginalConstructor()
52 $actions->expects($this->any())
53 ->method(
'getQuestionTargetLinkBuilder')
54 ->willReturn(fn(
int $q):
string =>
'');
56 $questionrepository = $this->getMockBuilder(QuestionsRepository::class)
57 ->disableOriginalConstructor()
59 $questionrepository->expects($this->any())
60 ->method(
'getQuestionPropertiesWithAggregatedResultsForTest')
63 new \
ILIAS\
Test\Questions\Properties\Properties(
66 $this->createMock(\ilComponentFactory::class),
89 $DIC[
'http']->request(),
100 $this->assertInstanceOf(QuestionsTable::class, $this->table_gui);
105 $this->assertInstanceOf(
Table\Ordering::class, $this->table_gui->getTableComponent());
Interface Observer Contains several chained tasks and infos about them.
Class QuestionsTableTest.
QuestionsTable $table_gui
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
test_instantiateObject_shouldReturnInstance()
testQuestionsTableGUIwillReturnProperTypes()