You are here

public function CacheItemBackendTest::testHas in Flysystem 8

Same name and namespace in other branches
  1. 3.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::testHas()
  2. 2.0.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::testHas()
  3. 3.0.x tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\CacheItemBackendTest::testHas()

Tests whether a cache item exists.

File

tests/src/Unit/Flysystem/Adapter/CacheItemBackendTest.php, line 43

Class

CacheItemBackendTest
@group flysystem

Namespace

Drupal\Tests\flysystem\Unit\Flysystem\Adapter

Code

public function testHas() {
  $this
    ->assertFalse($this->cacheItemBackend
    ->has('test.txt'));
}