/** * Tear Down */ public function tearDown() { parent::tearDown(); if (FileSystemHelper::isDirectory($this->directory)) { $this->directory->delete(); } }
/** * Set Up */ public function setUp() { $this->testFilePath = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'corgi_file' . DIRECTORY_SEPARATOR . 'test.txt'; parent::setUp(); }