added @expectedExceptionMessage

This commit is contained in:
Anton Grebnev
2011-11-07 19:56:32 +04:00
parent 3923de3dc4
commit 88abbaab68
3 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
/**
* @expectedException Exception
* @expectedExceptionMessage call_user_func_array() expects parameter 1 to be a valid callback
* @runInSeparateProcess
*/
public function testCallUndefinedMethod()

View File

@ -25,6 +25,7 @@ class EqualValidatorTest extends PHPUnit_Framework_TestCase
/**
* @expectedException Exception
* @expectedExceptionMessage Token not defined
*/
public function testNullToken()
{

View File

@ -46,6 +46,7 @@ class RegexValidatorTest extends PHPUnit_Framework_TestCase
/**
* @expectedException Exception
* @expectedExceptionMessage Message template "regex_not_match" unknown.
*/
public function testNullMessage()
{