ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilAssQuestionPageCommandForwarderTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28 
29  protected function setUp(): void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilAssQuestionPageCommandForwarder();
34  }
35 
37  {
38  $this->assertInstanceOf(ilAssQuestionPageCommandForwarder::class, $this->testObj);
39  }
40 
41  public function testTestObj(): void
42  {
43  $testObj = $this->createMock(ilObjTest::class);
44  $this->testObj->setTestObj($testObj);
45 
46  $this->assertEquals($testObj, $this->testObj->getTestObj());
47  }
48 }
Class ilTestBaseClass.
Class ilAssQuestionPageCommandForwarderTest.