protected function DefaultAccessCheckTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php \Drupal\Tests\Core\Access\DefaultAccessCheckTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Access/ DefaultAccessCheckTest.php, line 39 - Contains \Drupal\Tests\Core\Access\DefaultAccessCheckTest.
Class
- DefaultAccessCheckTest
- @coversDefaultClass \Drupal\Core\Access\DefaultAccessCheck @group Access
Namespace
Drupal\Tests\Core\AccessCode
protected function setUp() {
parent::setUp();
$this->account = $this
->getMock('Drupal\\Core\\Session\\AccountInterface');
$this->accessChecker = new DefaultAccessCheck();
}