view 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
line wrap: on
line source
<?php

namespace Drupal\Tests\system\Unit;

use Drupal\Tests\UnitTestCase;
use Drupal\Tests\system\Traits\TestTrait;

/**
 * Test whether traits are autoloaded during PHPUnit discovery time.
 *
 * @group system
 * @group Test
 */
class TraitAccessTest extends UnitTestCase {

  use TestTrait;

  /**
   * @coversNothing
   */
  public function testSimpleStuff() {
    $stuff = $this->getStuff();
    $this->assertSame($stuff, 'stuff', "Same old stuff");
  }

}