function TraitAccessTest::testSimpleStuff

Same name in other branches
  1. 9 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()
  3. 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 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");
}

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