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