NestedExampleTest.php

Namespace

Drupal\psr_0_test\Tests\Nested

File

drupal-7.x/modules/simpletest/tests/psr_0_test/lib/Drupal/psr_0_test/Tests/Nested/NestedExampleTest.php
View source
  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. }