ExpectedExceptionUnitTest.inc in Coder 8.2
File
coder_sniffer/DrupalPractice/Test/Commenting/ExpectedExceptionUnitTest.incView source
<?php
class ExampleTest extends UnitTestCase {
/**
* Test 1.
*
* @expectedException TestException
* @expectedExceptionCode 100
* @expectedExceptionMessage Message here
* @expectedExceptionMessageRegExp /.+/
*/
public function test1() {
}
}
Classes
Name | Description |
---|---|
ExampleTest |