public function DrupalCacheAdapterTest::testHasSuccess in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Flysystem/Adapter/DrupalCacheAdapterTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\DrupalCacheAdapterTest::testHasSuccess()
- 3.x tests/src/Unit/Flysystem/Adapter/DrupalCacheAdapterTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\DrupalCacheAdapterTest::testHasSuccess()
- 2.0.x tests/src/Unit/Flysystem/Adapter/DrupalCacheAdapterTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\DrupalCacheAdapterTest::testHasSuccess()
File
- tests/
src/ Unit/ Flysystem/ Adapter/ DrupalCacheAdapterTest.php, line 202
Class
- DrupalCacheAdapterTest
- Test the Drupal Cache Adapter.
Namespace
Drupal\Tests\flysystem\Unit\Flysystem\AdapterCode
public function testHasSuccess() {
$cache_item = $this->cacheItemBackend
->load(static::FILE);
$this->cacheItemBackend
->set(static::FILE, $cache_item);
$this
->assertTrue($this->cacheAdapter
->has(static::FILE));
}