You are here

protected function DefaultAccessCheckTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Access

Code

protected function setUp() {
  parent::setUp();
  $this->account = $this
    ->getMock('Drupal\\Core\\Session\\AccountInterface');
  $this->accessChecker = new DefaultAccessCheck();
}