class ExampleTest in Coder 8.2
Same name and namespace in other branches
Hierarchy
- class \ExampleTest extends \UnitTestCase
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExampleTest:: |
public | function | Test 1. |