function BreakpointTest::testGetProvider

Tests get provider.

@legacy-covers ::getProvider

File

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

Class

BreakpointTest
Tests Drupal\breakpoint\Breakpoint.

Namespace

Drupal\Tests\breakpoint\Unit

Code

public function testGetProvider() : void {
  $this->pluginDefinition['provider'] = 'Breakpoint';
  $this->setupBreakpoint();
  $this->assertEquals('Breakpoint', $this->breakpoint
    ->getProvider());
}

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