/** * Constructor * * @param \VuFind\Search\Base\Params $params Object representing user search * parameters. * @param int $total Total result set size to simulate */ public function __construct(Params $params, $total = 100) { parent::__construct($params); $this->fakeExpectedTotal = $total; $this->searchId = 'fake'; // fill a fake value here so we don't hit the DB }