class CoreThemesAutoloadedForTests

Same name and namespace in other branches
  1. 10 core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php \Drupal\Tests\Core\Theme\CoreThemesAutoloadedForTests

Confirms that core/themes is autoloaded for tests.

@group Theme

Hierarchy

Expanded class hierarchy of CoreThemesAutoloadedForTests

File

core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php, line 13

Namespace

Drupal\Tests\Core\Theme
View source
class CoreThemesAutoloadedForTests extends UnitTestCase {
  
  /**
   * Confirms that core/themes is autoloaded for tests.
   */
  public function testCoreThemesAutoloadedForTests() {
    $this->assertTrue(class_exists(ClaroPreRender::class), 'core/themes (ClaroPreRender) is registered with the tests autoloader');
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.