You are here

protected function FieldBlockTest::setUp in Drupal 8

Same name in this branch
  1. 8 core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\FieldBlockTest::setUp()
  2. 8 core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php \Drupal\Tests\layout_builder\Kernel\FieldBlockTest::setUp()
Same name and namespace in other branches
  1. 9 core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php \Drupal\Tests\layout_builder\Kernel\FieldBlockTest::setUp()

Overrides EntityKernelTestBase::setUp

File

core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php, line 50

Class

FieldBlockTest
@coversDefaultClass \Drupal\layout_builder\Plugin\Block\FieldBlock @group Field

Namespace

Drupal\Tests\layout_builder\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->entityFieldManager = $this
    ->prophesize(EntityFieldManagerInterface::class);
  $this->logger = $this
    ->prophesize(LoggerInterface::class);
}