18 require_once __DIR__ . 
'/bootstrap.php';
    25     public function testConstructor()
    29         $factory = 
$service->derived()->factory();
    34     public function testTask(): 
void    38         $factory = 
$service->derived()->factory();
    40         $task = $factory->task(
"title", 123, 1234, 1000);
    43         $this->assertEquals(
'title', $task->getTitle());
    44         $this->assertEquals(123, $task->getRefId());
    45         $this->assertEquals(1234, $task->getDeadline());
    46         $this->assertEquals(1000, $task->getStartingTime());
    47         $this->assertEquals(0, $task->getWspId());
    50     public function testCollector(): 
void    54         $factory = 
$service->derived()->factory();
    56         $task = $factory->collector();
    61     public function testAllProviders(): 
void    65         $factory = 
$service->derived()->factory();
    67         $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...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Base test class for tasks tests.