/** * @expectedException CM_Exception_InvalidParam * @expectedExceptionMessage Not enough parameters */ public function testGetGeoPointException() { $params = new CM_Params(array('point' => 'foo')); $params->getGeoPoint('point'); }