ILIAS  release_8 Revision v8.24
ilTestGradingMessageBuilderTest.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 ilTestGradingMessageBuilder(
34 $this->createMock(ilLanguage::class),
35 $this->createMock(ilObjTest::class)
36 );
37 }
38
40 {
41 $this->assertInstanceOf(ilTestGradingMessageBuilder::class, $this->testObj);
42 }
43
44 public function testActiveId(): void
45 {
46 $this->testObj->setActiveId(2120);
47 $this->assertEquals(2120, $this->testObj->getActiveId());
48 }
49}
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...