/** * @covers Respect\Rest\Router::__call * @expectedException InvalidArgumentException */ public function testMagicConstructorWarnsIfNoSufficientParametersWerePassed2() { $router = new Router(); $router->thisIsInsufficientForMagicConstruction('/magicians'); }