ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilDerivedTaskCollectorTest.php
Go to the documentation of this file.
1<?php
18require_once __DIR__ . '/bootstrap.php';
19
24{
25 public function testGetEntries(): void
26 {
29 $factory = $service->derived()->factory();
30
31 $collector = $factory->collector();
32
33 $entries = $collector->getEntries(0);
34
35 $this->assertTrue($entries[0] instanceof ilDerivedTask);
36 $this->assertEquals("title", $entries[0]->getTitle());
37 }
38}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Base test class for tasks tests.
$service
Definition: ltiresult.php:36