cms/drupal/modules/simpletest/src/Tests/PSR4WebTest.php
changeset 541 e756a8c72c3d
equal deleted inserted replaced
540:07239de796bb 541:e756a8c72c3d
       
     1 <?php
       
     2 
       
     3 namespace Drupal\simpletest\Tests;
       
     4 
       
     5 class PSR4WebTest extends \DrupalWebTestCase {
       
     6 
       
     7   public static function getInfo() {
       
     8     return array(
       
     9       'name' => 'PSR4 web test',
       
    10       'description' => 'We want to assert that this PSR-4 test case is being discovered.',
       
    11       'group' => 'SimpleTest',
       
    12     );
       
    13   }
       
    14 
       
    15   function testArithmetics() {
       
    16     $this->assert(1 + 1 == 2, '1 + 1 == 2');
       
    17   }
       
    18 }