You are here

class ExampleTest in Coder 8.2

Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/Commenting/ExpectedExceptionUnitTest.inc \ExampleTest
  2. 8.3.x tests/DrupalPractice/Commenting/ExpectedExceptionUnitTest.inc \ExampleTest

Hierarchy

Expanded class hierarchy of ExampleTest

File

coder_sniffer/DrupalPractice/Test/Commenting/ExpectedExceptionUnitTest.inc, line 3

View source
class ExampleTest extends UnitTestCase {

  /**
   * Test 1.
   *
   * @expectedException TestException
   * @expectedExceptionCode 100
   * @expectedExceptionMessage Message here
   * @expectedExceptionMessageRegExp /.+/
   */
  public function test1() {
  }

}

Members