You are here

protected function GridStackFormUnitTest::setUp in GridStack 8.2

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

Overrides UnitTestCase::setUp

File

tests/src/Unit/Form/GridStackFormUnitTest.php, line 27

Class

GridStackFormUnitTest
Tests the GridStack admin form.

Namespace

Drupal\Tests\gridstack\Unit\Form

Code

protected function setUp() {
  parent::setUp();
  $this->fileSystem = $this
    ->getMockBuilder('\\Drupal\\Core\\File\\FileSystem')
    ->disableOriginalConstructor()
    ->getMock();
  $this->blazyAdmin = $this
    ->getMockBuilder('\\Drupal\\blazy\\Form\\BlazyAdminInterface')
    ->disableOriginalConstructor()
    ->getMock();
  $this->gridstackManager = $this
    ->createMock('\\Drupal\\gridstack\\GridStackManagerInterface');
}