You are here

protected function BreakpointTest::setupBreakpoint in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::setupBreakpoint()

Sets up the breakpoint defaults.

6 calls to BreakpointTest::setupBreakpoint()
BreakpointTest::testGetGroup in core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
@covers ::getGroup
BreakpointTest::testGetLabel in core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
@covers ::getLabel
BreakpointTest::testGetMediaQuery in core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
@covers ::getMediaQuery
BreakpointTest::testGetMultipliers in core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
@covers ::getMultipliers
BreakpointTest::testGetProvider in core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
@covers ::getProvider

... See full list

File

core/modules/breakpoint/tests/src/Unit/BreakpointTest.php, line 58
Contains \Drupal\Tests\breakpoint\Unit\BreakpointTest.

Class

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

Namespace

Drupal\Tests\breakpoint\Unit

Code

protected function setupBreakpoint() {
  $this->breakpoint = new Breakpoint(array(), $this->pluginId, $this->pluginDefinition);
  $this->breakpoint
    ->setStringTranslation($this->stringTranslation);
}