You are here

protected function ContextTest::setUp in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/sebastian/recursion-context/tests/ContextTest.php \SebastianBergmann\RecursionContext\ContextTest::setUp()
  2. 8.0 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 vendor/sebastian/recursion-context/tests/ContextTest.php \SebastianBergmann\RecursionContext\ContextTest::setUp()

Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides PHPUnit_Framework_TestCase::setUp

File

vendor/sebastian/recursion-context/tests/ContextTest.php, line 25

Class

ContextTest
@covers SebastianBergmann\RecursionContext\Context

Namespace

SebastianBergmann\RecursionContext

Code

protected function setUp() {
  $this->context = new Context();
}