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

setUp() public method

Creates the folder useful to this test.
public setUp ( )
    public function setUp()
    {
        $path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'sonata_exporter_test';
        $this->folder = new \SplFileInfo($path);
        $this->tearDown();
        mkdir($path);
        $this->dtd = 'http://gsa.example.com/gsafeed.dtd';
        $this->datasource = 'default_collection';
        $this->feedtype = 'metadata-and-url';
    }