comparison core/modules/simpletest/tests/src/Unit/PhpUnitAutoloaderTest.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
7 /**
8 * Tests that classes are correctly loaded during PHPUnit initialization.
9 *
10 * @group simpletest
11 */
12 class PhpUnitAutoloaderTest extends UnitTestCase {
13
14 /**
15 * Test loading of classes provided by test sub modules.
16 */
17 public function testPhpUnitTestClassesLoading() {
18 $this->assertTrue(class_exists('\Drupal\phpunit_test\PhpUnitTestDummyClass'), 'Class provided by test module was not autoloaded.');
19 }
20
21 }