You are here

public function BreakpointTest::testGetMultipliers 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::testGetMultipliers()

@covers ::getMultipliers

File

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

Class

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

Namespace

Drupal\Tests\breakpoint\Unit

Code

public function testGetMultipliers() {
  $this->pluginDefinition['multipliers'] = array(
    '1x',
    '2x',
  );
  $this
    ->setupBreakpoint();
  $this
    ->assertSame(array(
    '1x',
    '2x',
  ), $this->breakpoint
    ->getMultipliers());
}