title: Laravel Testing with storage fake
body: <p>I have developed a function to download CSV file which generated based on the database.
  I have created testing for this and working fine for me. but the problem is the file is not getting deleted after completing the test run.</p>
  
  <p><strong>Question</strong>. Will this file created using storage fake got deleted automatically once the test completely run? if yes it is not deleted for me. please look into my test function. </p>
  
  <pre><code>/*Test file*/
  public function testAmazonDailyPendingStatusReport(){
      //creating factories    
      Storage::fake('reportslocal');  
      $dailyStatus = new DailyStatus(
         new FileWriter(),
         new Filesystem(),
         Storage::disk('reportslocal')
     );
     $fileExported = $dailyStatus-&gt;export();
     //continuing assertions
  }
  
  /*export function*/
  public function export(){
       //fetch data from database.
       //create file using SplFileObject
       //writing files into it.
       //storing to 'reportslocal' path
       //sending email to client with attached this file
  }
  </code></pre>
  
  <p>If the file not deleted automatically, what should I do? or can I use <code>Storage::disk('reportslocal')-&gt;delete($fileExported)</code> in my test function
  . Is this a proper way?</p>
  
  <p>What is the best assertion to be checked here?
  I have checked, the file existence, column number, column header sequence, and value, check the contents of the file. is there anything I missed?</p>
  
  <p>Please help me to do this(Priority is the storage::fake() issue.).</p>
  
  <p>Thanks in advance. </p>