Beispiel #1
0
 public function testDestructShouldEraseFile()
 {
     $instance = new TempFile();
     $fileName = $instance->getFileName();
     $this->assertFileExists($fileName);
     unset($instance);
     $this->assertFileNotExists($fileName);
 }