diff options
Diffstat (limited to 'modules/simpletest/tests/psr_4_test/src/Tests/Nested/NestedExampleTest.php')
-rw-r--r-- | modules/simpletest/tests/psr_4_test/src/Tests/Nested/NestedExampleTest.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/simpletest/tests/psr_4_test/src/Tests/Nested/NestedExampleTest.php b/modules/simpletest/tests/psr_4_test/src/Tests/Nested/NestedExampleTest.php new file mode 100644 index 000000000..ff3ac29d4 --- /dev/null +++ b/modules/simpletest/tests/psr_4_test/src/Tests/Nested/NestedExampleTest.php @@ -0,0 +1,18 @@ +<?php + +namespace Drupal\psr_4_test\Tests\Nested; + +class NestedExampleTest extends \DrupalWebTestCase { + + public static function getInfo() { + return array( + 'name' => 'PSR4 example test: PSR-4 in nested subfolders.', + 'description' => 'We want to assert that this PSR-4 test case is being discovered.', + 'group' => 'SimpleTest', + ); + } + + function testArithmetics() { + $this->assert(1 + 1 == 2, '1 + 1 == 2'); + } +} |