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