/** * Initialize driver with fixture * * @param String $file File * * @return void */ public function initialize($file) { if (!$this->driver) { $this->driver = new SolrMarcDriver(); $fixture = $this->getFixtureData($file); $this->driver->setRawData($fixture); } }