Ejemplo n.º 1
0
 /**
  * SRR files should not contain any file data in the File blocks, but we
  * should fail to read it gracefully.
  */
 public function testFileDataCannotBeExtracted()
 {
     $srr = new SrrInfo();
     $srr->open($this->fixturesDir . '/store_rr_solid_auth.part1.srr');
     $this->assertFalse($srr->getFileData('users_manual4.00.txt'));
     foreach ($srr->getFileList() as $vol) {
         foreach ($vol['files'] as $file) {
             $this->assertArrayNotHasKey('range', $file);
         }
     }
 }