/**
  * testFlush
  *
  * @return void
  */
 public function testFlush()
 {
     $config = StorageManager::config('Local');
     $result = StorageManager::flush('Local');
     $this->assertTrue($result);
     $result = StorageManager::flush('Does not exist');
     $this->assertFalse($result);
     StorageManager::config('Local', $config);
 }
 /**
  * Flush all or a single adapter from the config.
  *
  * @param string $name Config name, if none all adapters are flushed.
  * @throws RuntimeException
  * @return boolean True on success
  */
 public static function flush($name = null)
 {
     return NewStorageManager::flush($name);
 }