added @expectedExceptionMessage
This commit is contained in:
@ -85,6 +85,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException Exception
|
* @expectedException Exception
|
||||||
|
* @expectedExceptionMessage call_user_func_array() expects parameter 1 to be a valid callback
|
||||||
* @runInSeparateProcess
|
* @runInSeparateProcess
|
||||||
*/
|
*/
|
||||||
public function testCallUndefinedMethod()
|
public function testCallUndefinedMethod()
|
||||||
|
@ -25,6 +25,7 @@ class EqualValidatorTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException Exception
|
* @expectedException Exception
|
||||||
|
* @expectedExceptionMessage Token not defined
|
||||||
*/
|
*/
|
||||||
public function testNullToken()
|
public function testNullToken()
|
||||||
{
|
{
|
||||||
|
@ -46,6 +46,7 @@ class RegexValidatorTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException Exception
|
* @expectedException Exception
|
||||||
|
* @expectedExceptionMessage Message template "regex_not_match" unknown.
|
||||||
*/
|
*/
|
||||||
public function testNullMessage()
|
public function testNullMessage()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user