diff --git a/tests/RegistryTest.php b/tests/RegistryTest.php index 345a063..c5c17b3 100644 --- a/tests/RegistryTest.php +++ b/tests/RegistryTest.php @@ -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');