public function RenderCacheBackendAdapterTest::test_get_miss in Render cache 7.2
@covers ::get() @covers ::getMultiple()
File
- tests/
src/ Cache/ RenderCacheBackendAdapterTest.php, line 185 - Contains \Drupal\render_cache\Tests\Cache\RenderCacheBackendAdapterTest
Class
- RenderCacheBackendAdapterTest
- @coversDefaultClass \Drupal\render_cache\Cache\RenderCacheBackendAdapter @group cache
Namespace
Drupal\render_cache\Tests\CacheCode
public function test_get_miss() {
$cache_info = $this
->getCacheInfo('render:foo:not_exists', RenderCache::RENDER_CACHE_STRATEGY_DIRECT_RENDER);
$this
->assertEquals(array(), $this->cache
->get($cache_info), 'Cache Miss data matches for ::get()');
}