comparison core/modules/simpletest/tests/src/Unit/TraitAccessTest.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
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 }