You are here

public function LoggerServiceTest::providerTestSetChannel in Purge 8.3

Provides test data for testSetChannel().

File

tests/src/Unit/Logger/LoggerServiceTest.php, line 240

Class

LoggerServiceTest
@coversDefaultClass \Drupal\purge\Logger\LoggerService

Namespace

Drupal\Tests\purge\Unit\Logger

Code

public function providerTestSetChannel() : array {
  return [
    [
      'exists',
      TRUE,
    ],
    [
      'foobarbaz',
      TRUE,
    ],
    [
      'doesnotexists',
      FALSE,
    ],
    [
      'alsofake',
      FALSE,
    ],
  ];
}