You are here

protected function FieldValueTest::setUp in Twig Field Value 8

Same name in this branch
  1. 8 tests/src/Kernel/FieldValueTest.php \Drupal\Tests\twig_field_value\Kernel\FieldValueTest::setUp()
  2. 8 tests/src/Unit/FieldValue/FieldValueTest.php \Drupal\Tests\twig_field_value\Unit\FieldValue\FieldValueTest::setUp()
Same name and namespace in other branches
  1. 2.0.x tests/src/Unit/FieldValue/FieldValueTest.php \Drupal\Tests\twig_field_value\Unit\FieldValue\FieldValueTest::setUp()

Overrides UnitTestCase::setUp

File

tests/src/Unit/FieldValue/FieldValueTest.php, line 24

Class

FieldValueTest
@coversDefaultClass \Drupal\twig_field_value\Twig\Extension\FieldValueExtension @group twig_field_value

Namespace

Drupal\Tests\twig_field_value\Unit\FieldValue

Code

protected function setUp() {
  $this->extension = new FieldValueExtension();
}