protected function agregar_parametro_request($param, $valor, $cantidad_llamados = 1) { $this->request->expects($this->exactly($cantidad_llamados))->method('get')->with($this->equalTo($param))->will($this->returnValue($valor)); $this->filtro->expects($this->any())->method('quote')->will($this->returnArgument(0)); }