ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use PHPUnit\Framework\TestCase;
23
25{
26 protected ?ilDBInterface $db = null;
27
28 public function prepare(ilDBInterface $db): void
29 {
30 $this->db = $db;
31 }
32
33 public function step_1(ilDBInterface $db)
34 {
35 }
36
37 public function step_4(ilDBInterface $db)
38 {
39 }
40
41 public function step_2(ilDBInterface $db)
42 {
43 }
44}
45
47{
50
51 protected function setUp(): void
52 {
53 $this->steps = new Test_ilDatabaseUpdateSteps2();
54 $this->storage = $this->createMock(Storage::class);
55 }
56
58 {
59 $obj = new ilDatabaseUpdateStepsMetricsCollectedObjective($this->storage, $this->steps);
60 $this->assertInstanceOf(ilDatabaseUpdateStepsMetricsCollectedObjective::class, $obj);
61
62 return $obj;
63 }
64}
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...