You are here

public function LoggerChannelPartFactoryTest::testCreate in Purge 8.3

@covers ::create

@dataProvider providerTestCreate()

File

tests/src/Unit/Logger/LoggerChannelPartFactoryTest.php, line 42

Class

LoggerChannelPartFactoryTest
@coversDefaultClass \Drupal\purge\Logger\LoggerChannelPartFactory

Namespace

Drupal\Tests\purge\Unit\Logger

Code

public function testCreate($id, array $grants = []) : void {
  $this
    ->assertInstanceOf('\\Drupal\\purge\\Logger\\LoggerChannelPart', $this->loggerChannelPartFactory
    ->create($id, $grants));
}