Exemplo n.º 1
0
 public function hashCodesNotEqualForTwoFileHandles()
 {
     $fn = $this->fileKnownToExist();
     $a = new File(fopen($fn, 'r'));
     $b = new File(fopen($fn, 'r'));
     $this->assertNotEquals($a->hashCode(), $b->hashCode());
 }