3 declare(strict_types=1);
    29     protected Objective\NullObjective 
$o;
    33         $this->o = 
new Objective\NullObjective();
    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);
 
Objective NullObjective $o
 
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...