protected function LoggerServiceTest::setUp in Purge 8.3
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Logger/ LoggerServiceTest.php, line 50
Class
- LoggerServiceTest
- @coversDefaultClass \Drupal\purge\Logger\LoggerService
Namespace
Drupal\Tests\purge\Unit\LoggerCode
protected function setUp() : void {
$this->loggerChannelPartFactory = $this
->createMock('\\Drupal\\purge\\Logger\\LoggerChannelPartFactoryInterface');
$this->loggerChannelPartFactory
->method('create')
->willReturn($this
->createMock('\\Drupal\\purge\\Logger\\LoggerChannelPartInterface'));
}