19declare(strict_types=1);
25use PHPUnit\Framework\TestCase;
38 $this->assertIsString($this->o->getHash());
43 $this->assertEquals(
"Nothing to do.", $this->o->getLabel());
48 $this->assertFalse($this->o->isNotable());
53 $env = $this->createMock(
Setup\Environment::class);
55 $pre = $this->o->getPreconditions($env);
56 $this->assertEquals([], $pre);
61 $env = $this->createMock(
Setup\Environment::class);
63 $res = $this->o->achieve($env);
64 $this->assertSame($env,
$res);
A non-objective, nothing to do to achieve it...
Objective NullObjective $o
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...