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