public function CacheItemBackendTest::testLoadMiss in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::testLoadMiss()
- 3.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::testLoadMiss()
- 2.0.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::testLoadMiss()
Tests when loading a cache item creates a new item.
File
- tests/
src/ Unit/ Flysystem/ Adapter/ CacheItemBackendTest.php, line 62
Class
- CacheItemBackendTest
- @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\Flysystem\AdapterCode
public function testLoadMiss() {
$item = $this->cacheItemBackend
->load('test_path');
$this
->assertInstanceOf(CacheItem::class, $item);
}