Example #1
0
 public function testGetParamInvalid()
 {
     $param = new Elastica_Param();
     try {
         $param->getParam('notest');
         $this->fail('Should throw exception');
     } catch (Elastica_Exception_Invalid $e) {
         $this->assertTrue(true);
     }
 }