public function testInterpolationFailsWithStarRoutes() { $router = new Routing\Router(); $router->connect('/{fruit}/*', 'fruit'); $this->setExpectedException('Ergo\\Routing\\Exception'); $router->buildUrl('fruit', array('fruit' => 'apple')); }