Sonata\Exporter\Test\Writer\GsaFeedWriterTest::tearDown PHP Method

tearDown() public method

Deletes the generated XML and the created folder.
public tearDown ( )
    public function tearDown()
    {
        if ($this->folder->getRealPath()) {
            foreach ($this->getFiles() as $file) {
                unlink($file);
            }
            rmdir($this->folder->getRealPath());
        }
    }