Class ilTestAccessTest.
More...
◆ setUp()
| ilTestAccessTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
| ilTestAccessTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
Definition at line 38 of file ilTestAccessTest.php.
40 $this->assertInstanceOf(ilTestAccess::class, $this->testObj);
◆ testAccess()
| ilTestAccessTest::testAccess |
( |
| ) |
|
Definition at line 43 of file ilTestAccessTest.php.
45 $accessHandler_mock = $this->createMock(ilAccessHandler::class);
46 $this->testObj->setAccess($accessHandler_mock);
48 $this->assertEquals($accessHandler_mock, $this->testObj->getAccess());
◆ testRefId()
| ilTestAccessTest::testRefId |
( |
| ) |
|
Definition at line 51 of file ilTestAccessTest.php.
53 $this->testObj->setRefId(120);
55 $this->assertEquals(120, $this->testObj->getRefId());
◆ testTestId()
| ilTestAccessTest::testTestId |
( |
| ) |
|
Definition at line 58 of file ilTestAccessTest.php.
60 $this->testObj->setTestId(120);
62 $this->assertEquals(120, $this->testObj->getTestId());
◆ $testObj
The documentation for this class was generated from the following file: