1*ede46466SAndreas Gohr<?php 2*ede46466SAndreas Gohr 3*ede46466SAndreas Gohrnamespace dokuwiki\test\Search\Collection; 4*ede46466SAndreas Gohr 5*ede46466SAndreas Gohruse dokuwiki\Search\Collection\DirectCollection; 6*ede46466SAndreas Gohr 7*ede46466SAndreas Gohr/** 8*ede46466SAndreas Gohr * A mock extending DirectCollection with custom index names for testing 9*ede46466SAndreas Gohr */ 10*ede46466SAndreas Gohrclass MockDirectCollection extends DirectCollection 11*ede46466SAndreas Gohr{ 12*ede46466SAndreas Gohr /** @inheritdoc */ 13*ede46466SAndreas Gohr public function __construct($entity = 'entity', $token = 'token') 14*ede46466SAndreas Gohr { 15*ede46466SAndreas Gohr parent::__construct($entity, $token); 16*ede46466SAndreas Gohr } 17*ede46466SAndreas Gohr} 18