function ModuleHandlerUnitTest::testloadInclude

File

drupal/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerUnitTest.php, line 37
Contains \Drupal\Core\Extension\ModuleHanderUnitTest.

Class

ModuleHandlerUnitTest
Tests the ModuleHandler class.

Namespace

Drupal\Tests\Core\Extension

Code

function testloadInclude() {

  // Make sure that load include does not throw notices on nonexisiting
  // modules.
  $this->moduleHandler
    ->loadInclude('foo', 'inc');
}