You are here

protected function BreakpointTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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 45

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');
}