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

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        $this->writer = $this->getWriter();
    }

Usage Example

 public function setUp()
 {
     parent::setUp();
     $this->filename = 'foobar.csv';
     if (is_file($this->filename)) {
         unlink($this->filename);
     }
 }