ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilDerivedTaskCollectorTest.php
Go to the documentation of this file.
1<?php
2
19require_once __DIR__ . '/bootstrap.php';
20
25{
26 public function testGetEntries(): void
27 {
30 $factory = $service->derived()->factory();
31
32 $collector = $factory->collector();
33
34 $entries = $collector->getEntries(0);
35
36 $this->assertTrue($entries[0] instanceof ilDerivedTask);
37 $this->assertEquals("title", $entries[0]->getTitle());
38 }
39}
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