protected function ModuleHandlerTest::setUp in Drupal 8
@covers ::__construct
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ModuleHandlerTest.php, line 31
Class
- ModuleHandlerTest
- @coversDefaultClass \Drupal\Core\Extension\ModuleHandler @runTestsInSeparateProcesses
Namespace
Drupal\Tests\Core\ExtensionCode
protected function setUp() {
parent::setUp();
// We can mock the cache handler here, but not the module handler.
$this->cacheBackend = $this
->createMock(CacheBackendInterface::class);
}