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