ILIAS  release_8 Revision v8.24
ilTestVirtualSequenceTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
26{
28
29 protected function setUp(): void
30 {
31 parent::setUp();
32
33 $this->testObj = new ilTestVirtualSequence(
34 $this->createMock(ilDBInterface::class),
35 $this->createMock(ilObjTest::class),
36 $this->createMock(ilTestSequenceFactory::class)
37 );
38 }
39
41 {
42 $this->assertInstanceOf(ilTestVirtualSequence::class, $this->testObj);
43 }
44
45 public function testActiveId(): void
46 {
47 $this->testObj->setActiveId(12);
48 $this->assertEquals(12, $this->testObj->getActiveId());
49 }
50}
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...