NestedExampleTest.php 441 B

123456789101112131415161718
  1. <?php
  2. namespace Drupal\psr_0_test\Tests\Nested;
  3. class NestedExampleTest extends \DrupalWebTestCase {
  4. public static function getInfo() {
  5. return array(
  6. 'name' => 'PSR0 example test: PSR-0 in nested subfolders.',
  7. 'description' => 'We want to assert that this PSR-0 test case is being discovered.',
  8. 'group' => 'SimpleTest',
  9. );
  10. }
  11. function testArithmetics() {
  12. $this->assert(1 + 1 == 2, '1 + 1 == 2');
  13. }
  14. }