17use PHPUnit\Framework\TestCase;
26 $plusJob = $taskFactory->createTask(PlusJob::class, [1, 2]);
27 $this->assertTrue($plusJob instanceof
PlusJob);
28 $plusJobInput = $plusJob->getInput();
31 $this->assertTrue($plusJobInput[0]->equals($one));
37 $plusJob = $taskFactory->createTask(PlusJob::class, [
$a,
$b]);
38 $this->assertTrue($plusJob instanceof
PlusJob);
39 $plusJobInput = $plusJob->getInput();
40 $this->assertTrue($plusJobInput[0]->equals($one));
An exception for terminatinating execution or to throw for unit testing.
Customizing of pimple-DIC for ILIAS.
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples