tearDown() public method

public tearDown ( ) : void
return void
 public function testTearDownRemovesFile()
 {
     $e = new ExceptionalCoding($this->filesystem, $this->faker);
     $args = $e->getArgs();
     $existingFiles = array_filter($args, 'file_exists');
     $this->assertFileExists($existingFiles[0]);
     $e->tearDown();
     $this->assertFileNotExists($existingFiles[0]);
 }