ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
TestScoringTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22use ILIAS\Test\Results\Data\Repository as TestResultRepository;
23
29{
31
32 protected function setUp(): void
33 {
35
36 $this->testObj = new TestScoring(
37 $this->getTestObjMock(),
38 $this->createMock(ilObjUser::class),
39 $this->createMock(ilDBInterface::class),
40 $this->createMock(TestResultRepository::class)
41 );
42 }
43
45 {
46 $this->assertInstanceOf(TestScoring::class, $this->testObj);
47 }
48}
Class TestScoringTest.
TestScoring $testObj
test_instantiateObject_shouldReturnInstance()
Class ilTestBaseClass.