You are here

public function RenderStackTest::test_getCacheKeys in Render cache 7.2

Tests that RenderStack::getCacheKeys() is working properly. @covers ::getCacheKeys()

File

tests/src/Cache/RenderStackTest.php, line 39
Contains \Drupal\render_cache\Tests\Cache\RenderStackTest

Class

RenderStackTest
@coversDefaultClass \Drupal\render_cache\Cache\RenderStack @group cache

Namespace

Drupal\render_cache\Tests\Cache

Code

public function test_getCacheKeys() {
  $this
    ->assertEquals(array(
    'render_cache',
    'foo',
  ), $this->renderStack
    ->getCacheKeys());
}