/** * @expectedException \LearnZF2Pagination\Exception\RuntimeException */ public function testNoRouterThrowsException() { $helper = new QueryUrl(new Request()); $helper->__invoke('route-name'); }