You are here

protected function BlazyAdminUnitTest::setUp in Blazy 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/Form/BlazyAdminUnitTest.php \Drupal\Tests\blazy\Unit\Form\BlazyAdminUnitTest::setUp()

Overrides UnitTestCase::setUp

File

tests/src/Unit/Form/BlazyAdminUnitTest.php, line 23

Class

BlazyAdminUnitTest
Tests the Blazy admin form.

Namespace

Drupal\Tests\blazy\Unit\Form

Code

protected function setUp() {
  parent::setUp();
  $this->entityDisplayRepository = $this
    ->createMock('\\Drupal\\Core\\Entity\\EntityDisplayRepositoryInterface');
  $this->typedConfig = $this
    ->createMock('\\Drupal\\Core\\Config\\TypedConfigManagerInterface');
  $this->blazyManager = $this
    ->createMock('\\Drupal\\blazy\\BlazyManagerInterface');
}