diff --git a/tests/app/router/RouteTest.php b/tests/app/router/RouteTest.php index 8e2c81c..242bd6b 100644 --- a/tests/app/router/RouteTest.php +++ b/tests/app/router/RouteTest.php @@ -69,11 +69,11 @@ class RouteTest extends PHPUnit_Framework_TestCase } /** - * @expectedException PHPUnit_Framework_Error * @TODO Need check empty parameters from constructor Route */ public function testMatchEmptyRequest() { + $this->setExpectedException('PHPUnit_Framework_Error'); $route = new Route('', 'user', array('name' => 'tony', 'role' => 'user')); $route->match(''); }