19require_once __DIR__ .
'/bootstrap.php';
26 public function testConstructor()
30 $factory =
$service->derived()->factory();
35 public function testTask():
void
39 $factory =
$service->derived()->factory();
41 $task = $factory->task(
"title", 123, 1234, 1000);
44 $this->assertEquals(
'title', $task->getTitle());
45 $this->assertEquals(123, $task->getRefId());
46 $this->assertEquals(1234, $task->getDeadline());
47 $this->assertEquals(1000, $task->getStartingTime());
48 $this->assertEquals(0, $task->getWspId());
51 public function testCollector():
void
55 $factory =
$service->derived()->factory();
57 $task = $factory->collector();
62 public function testAllProviders():
void
66 $factory =
$service->derived()->factory();
68 $providers = $factory->getAllProviders();
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...
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...