Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/system/tests/src/Unit/TraitAccessTest.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | |
children |
rev | line source |
---|---|
Chris@5 | 1 <?php |
Chris@5 | 2 |
Chris@5 | 3 namespace Drupal\Tests\system\Unit; |
Chris@5 | 4 |
Chris@5 | 5 use Drupal\Tests\UnitTestCase; |
Chris@5 | 6 use Drupal\Tests\system\Traits\TestTrait; |
Chris@5 | 7 |
Chris@5 | 8 /** |
Chris@5 | 9 * Test whether traits are autoloaded during PHPUnit discovery time. |
Chris@5 | 10 * |
Chris@5 | 11 * @group system |
Chris@5 | 12 * @group Test |
Chris@5 | 13 */ |
Chris@5 | 14 class TraitAccessTest extends UnitTestCase { |
Chris@5 | 15 |
Chris@5 | 16 use TestTrait; |
Chris@5 | 17 |
Chris@5 | 18 /** |
Chris@5 | 19 * @coversNothing |
Chris@5 | 20 */ |
Chris@5 | 21 public function testSimpleStuff() { |
Chris@5 | 22 $stuff = $this->getStuff(); |
Chris@5 | 23 $this->assertSame($stuff, 'stuff', "Same old stuff"); |
Chris@5 | 24 } |
Chris@5 | 25 |
Chris@5 | 26 } |