You are here

public function TagViewTest::getSlugProvider in Doubleclick for Publishers (DFP) 8

Data provider for self::testGetSlug().

File

tests/src/Unit/View/TagViewTest.php, line 60
Contains \Drupal\Tests\dfp\Unit\View\TagViewTest.

Class

TagViewTest
@coversDefaultClass \Drupal\dfp\View\TagView @group dfp

Namespace

Drupal\Tests\dfp\Unit\View

Code

public function getSlugProvider() {
  return [
    [
      'slug',
      'default_slug',
      'slug',
    ],
    [
      '',
      'default_slug',
      'default_slug',
    ],
    [
      '<none>',
      'default_slug',
      '',
    ],
  ];
}