Revise BaseRoute tests
This commit is contained in:
parent
63fd00fff0
commit
1b17ef5d0a
|
|
@ -51,7 +51,7 @@ class BaseRouteTest extends \PHPUnit_Framework_TestCase
|
|||
* @covers pjdietz\WellRESTed\Routes\BaseRoute
|
||||
* @expectedException \UnexpectedValueException
|
||||
*/
|
||||
public function testFailWhenHandlerDoesNotImplementInterface()
|
||||
public function testFailsWhenHandlerDoesNotImplementInterface()
|
||||
{
|
||||
$target = "\\stdClass";
|
||||
|
||||
|
|
@ -73,7 +73,3 @@ class ValidHandler implements HandlerInterface
|
|||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class NotAHandler
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue