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());
◆ $testObj
The documentation for this class was generated from the following file: