public testExceptionIsThrownWhenWrongStrategyTypeProvided ( ) : void | ||
return | void |
public function testExceptionIsThrownWhenWrongStrategyTypeProvided()
{
$this->setExpectedException('InvalidArgumentException');
$router = new RouteCollection();
$router->setStrategy('hello');
}