/**
  * Setup test folders and files
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->testPath = TMP;
     StorageFactory::config('Local', array('adapterOptions' => [$this->testPath, true], 'adapterClass' => '\\Gaufrette\\Adapter\\Local', 'class' => '\\Gaufrette\\Filesystem'));
     StorageFactory::config('LocalFlysystem', array('adapterOptions' => [$this->testPath], 'engine' => StorageFactory::FLYSYSTEM_ENGINE, 'adapterClass' => 'Local'));
 }
 /**
  * testFlush
  *
  * @return void
  */
 public function testFlush()
 {
     $config = StorageFactory::config('Local');
     $result = StorageFactory::flush('Local');
     $this->assertTrue($result);
     $result = StorageFactory::flush('Does not exist');
     $this->assertFalse($result);
     StorageFactory::config('Local', $config);
 }