'type' => 'module',
'pathname' => 'core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml',
'filename' => 'module_handler_test.module',
],
],
$this->cacheBackend,
]) ->
onlyMethods(['loadInclude'
]) ->
getMock();
// Ensure we reset implementations when settings a new modules list.
$module_handler->
expects($this->
once())->
method('loadInclude'
);
$module_handler->
loadAllIncludes('hook'
);
} /**
* @covers ::loadInclude
*
* Note we load code, so isolate the test.
*
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testLoadInclude() {