ClassLoaderTest::$expected

Same name in other branches
  1. 8.9.x core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php \Drupal\Tests\system\Functional\Module\ClassLoaderTest::expected
  2. 10 core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php \Drupal\Tests\system\Functional\Module\ClassLoaderTest::expected
  3. 11.x core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php \Drupal\Tests\system\Functional\Module\ClassLoaderTest::expected

The expected result from calling the module-provided class' method.

Type: string

File

core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php, line 20

Class

ClassLoaderTest
Tests class loading for modules.

Namespace

Drupal\Tests\system\Functional\Module

Code

protected $expected = 'Drupal\\module_autoload_test\\SomeClass::testMethod() was invoked.';

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