You are here

public function ContextTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 vendor/sebastian/recursion-context/tests/ContextTest.php \SebastianBergmann\RecursionContext\ContextTest::setUp()
  2. 8 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php, line 46
Contains \Drupal\Tests\Core\Plugin\Context\ContextTest.

Class

ContextTest
@coversDefaultClass \Drupal\Core\Plugin\Context\Context @group Plugin

Namespace

Drupal\Tests\Core\Plugin\Context

Code

public function setUp() {
  parent::setUp();
  $this->typedDataManager = $this
    ->getMockBuilder('Drupal\\Core\\TypedData\\TypedDataManager')
    ->disableOriginalConstructor()
    ->setMethods(array(
    'create',
  ))
    ->getMock();
}