function ExampleTest::testArithmetics

Same name in this branch
  1. 7.x modules/simpletest/tests/psr_4_test/src/Tests/ExampleTest.php \Drupal\psr_4_test\Tests\ExampleTest::testArithmetics()

File

modules/simpletest/tests/psr_0_test/lib/Drupal/psr_0_test/Tests/ExampleTest.php, line 15

Class

ExampleTest

Namespace

Drupal\psr_0_test\Tests

Code

function testArithmetics() {
    $this->assert(1 + 1 == 2, '1 + 1 == 2');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.