You are here

protected function GridStackAdminUnitTest::setUp in GridStack 8

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

Overrides UnitTestCase::setUp

File

tests/src/Unit/Form/GridStackAdminUnitTest.php, line 20

Class

GridStackAdminUnitTest
Tests the GridStack admin form.

Namespace

Drupal\Tests\gridstack\Unit\Form

Code

protected function setUp() {
  parent::setUp();
  $this->blazyAdminExtended = $this
    ->getMockBuilder('\\Drupal\\blazy\\Dejavu\\BlazyAdminExtended')
    ->disableOriginalConstructor()
    ->getMock();
  $this->gridstackManager = $this
    ->getMock('\\Drupal\\gridstack\\GridStackManagerInterface');
}