function TraitAccessTest::testSimpleStuff
Same name in other branches
- 9 core/modules/system/tests/src/Unit/TraitAccessTest.php \Drupal\Tests\system\Unit\TraitAccessTest::testSimpleStuff()
- 8.9.x core/modules/system/tests/src/Unit/TraitAccessTest.php \Drupal\Tests\system\Unit\TraitAccessTest::testSimpleStuff()
- 11.x core/modules/system/tests/src/Unit/TraitAccessTest.php \Drupal\Tests\system\Unit\TraitAccessTest::testSimpleStuff()
@coversNothing
File
-
core/
modules/ system/ tests/ src/ Unit/ TraitAccessTest.php, line 23
Class
- TraitAccessTest
- Test whether traits are autoloaded during PHPUnit discovery time.
Namespace
Drupal\Tests\system\UnitCode
public function testSimpleStuff() : void {
$stuff = $this->getStuff();
$this->assertSame($stuff, 'stuff', "Same old stuff");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.