/** * Try to get page with no * storage connection * @expectedException Exception */ public function testGetException() { $service = new Page(); $service->setDataSource(new PDOMock()); $service->get('/category/page1'); }