public function TraitAccessTest::testSimpleStuff in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Unit/TraitAccessTest.php \Drupal\Tests\system\Unit\TraitAccessTest::testSimpleStuff()
- 10 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 21
Class
- TraitAccessTest
- Test whether traits are autoloaded during PHPUnit discovery time.
Namespace
Drupal\Tests\system\UnitCode
public function testSimpleStuff() {
$stuff = $this
->getStuff();
$this
->assertSame($stuff, 'stuff', "Same old stuff");
}