34use PHPUnit\Framework\TestCase;
43 $plusJob = $taskFactory->createTask(PlusJob::class, [1, 2]);
44 $this->assertInstanceOf(\
ILIAS\BackgroundTasks\
Implementation\Tasks\PlusJob::class, $plusJob);
45 $plusJobInput = $plusJob->getInput();
48 $this->assertTrue($plusJobInput[0]->equals($one));
54 $plusJob = $taskFactory->createTask(PlusJob::class, [
$a,
$b]);
55 $this->assertInstanceOf(\
ILIAS\BackgroundTasks\
Implementation\Tasks\PlusJob::class, $plusJob);
56 $plusJobInput = $plusJob->getInput();
57 $this->assertTrue($plusJobInput[0]->equals($one));
Customizing of pimple-DIC for ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples