private function createDocument($file) { return new Document(new SplFileInfo(__DIR__ . '/../../../fixtures/' . $file, $file, ''), $file); }