ExpectedExceptionUnitTest.inc in Coder 8.3
Same filename and directory in other branches
File
tests/DrupalPractice/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 |