/** * @group unit * @expectedException \Elastica\Exception\InvalidException */ public function testGetParamInvalid() { $param = new Param(); $param->getParam('notest'); }