Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/simpletest/tests/src/Unit/TraitAccessTest.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\Tests\simpletest\Unit; | |
4 | |
5 use Drupal\Tests\UnitTestCase; | |
6 use Drupal\Tests\simpletest\Traits\TestTrait; | |
7 | |
8 /** | |
9 * Test whether traits are autoloaded during PHPUnit discovery time. | |
10 * | |
11 * @group simpletest | |
12 */ | |
13 class TraitAccessTest extends UnitTestCase { | |
14 | |
15 use TestTrait; | |
16 | |
17 /** | |
18 * @coversNothing | |
19 */ | |
20 public function testSimpleStuff() { | |
21 $stuff = $this->getStuff(); | |
22 $this->assertSame($stuff, 'stuff', "Same old stuff"); | |
23 } | |
24 | |
25 } |