function BreakpointTest::setUp

Same name in other branches
  1. 9 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::setUp()
  2. 8.9.x core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::setUp()
  3. 10 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/breakpoint/tests/src/Unit/BreakpointTest.php, line 50

Class

BreakpointTest
@coversDefaultClass \Drupal\breakpoint\Breakpoint @group Breakpoint

Namespace

Drupal\Tests\breakpoint\Unit

Code

protected function setUp() : void {
    parent::setUp();
    $this->stringTranslation = $this->createMock('Drupal\\Core\\StringTranslation\\TranslationInterface');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.