replacement @expectedException to setExpectedException
This commit is contained in:
@ -58,10 +58,10 @@ class RegistryTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @TODO: Registry::isRegistered - check input for null
|
||||
* @expectedException PHPUnit_Framework_Error
|
||||
*/
|
||||
public function testIsRegistered()
|
||||
{
|
||||
$this->setExpectedException('PHPUnit_Framework_Error');
|
||||
$this->assertFalse(Registry::isRegistered(43));
|
||||
|
||||
$this->_registry->set(3, 'three');
|
||||
|
Reference in New Issue
Block a user