public function BreakpointTest::testGetMultipliers in Drupal 9
Same name and namespace in other branches
- 8 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetMultipliers()
- 10 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 90
Class
- BreakpointTest
- @coversDefaultClass \Drupal\breakpoint\Breakpoint @group Breakpoint
Namespace
Drupal\Tests\breakpoint\UnitCode
public function testGetMultipliers() {
$this->pluginDefinition['multipliers'] = [
'1x',
'2x',
];
$this
->setupBreakpoint();
$this
->assertSame([
'1x',
'2x',
], $this->breakpoint
->getMultipliers());
}