You are here

public function TraitAccessTest::testSimpleStuff in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Unit/TraitAccessTest.php \Drupal\Tests\system\Unit\TraitAccessTest::testSimpleStuff()
  2. 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\Unit

Code

public function testSimpleStuff() {
  $stuff = $this
    ->getStuff();
  $this
    ->assertSame($stuff, 'stuff', "Same old stuff");
}