/** * Destroys the temporary paths. */ protected function tearDown() { $this->builder = null; if (file_exists($this->builderFile)) { Utility::remove($this->builderFile); } if (file_exists($this->dir)) { Utility::remove($this->dir); } }
/** * Destroys the test archive file. */ protected function tearDown() { foreach ($this->paths as $path) { if (file_exists($path)) { Utility::remove($path); } } }
/** * Destroys the temporary configuration directory. */ protected function tearDown() { if (file_exists($this->dir)) { Utility::remove($this->dir); } }
/** * Cleans up the test container and application instance. */ protected function tearDown() { $this->application = null; $this->container = null; if (file_exists($this->configDir)) { Utility::remove($this->configDir); } }