public function DrupalCacheAdapterTest::testHasFail 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::testHasFail()
- 3.x tests/src/Unit/Flysystem/Adapter/DrupalCacheAdapterTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\DrupalCacheAdapterTest::testHasFail()
- 2.0.x tests/src/Unit/Flysystem/Adapter/DrupalCacheAdapterTest.php \Drupal\Tests\flysystem\Unit\Flysystem\Adapter\DrupalCacheAdapterTest::testHasFail()
File
- tests/
src/ Unit/ Flysystem/ Adapter/ DrupalCacheAdapterTest.php, line 208
Class
- DrupalCacheAdapterTest
- Test the Drupal Cache Adapter.
Namespace
Drupal\Tests\flysystem\Unit\Flysystem\AdapterCode
public function testHasFail() {
$this->adapter
->has(static::FILE)
->willReturn(TRUE);
$this
->assertTrue($this->cacheAdapter
->has(static::FILE));
}