You are here

public function RenderStackTest::test_getCacheMaxAge in Render cache 7.2

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

File

tests/src/Cache/RenderStackTest.php, line 55
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_getCacheMaxAge() {
  $this
    ->assertEquals(600, $this->renderStack
    ->getCacheMaxAge());
}