You are here

protected function FieldTargetEntityTest::setUp in Twig Field Value 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Unit/FieldValue/FieldTargetEntityTest.php \Drupal\Tests\twig_field_value\Unit\FieldValue\FieldTargetEntityTest::setUp()

Overrides UnitTestCase::setUp

File

tests/src/Unit/FieldValue/FieldTargetEntityTest.php, line 21

Class

FieldTargetEntityTest
@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();
}