function IsFrontPathCacheContextTest::testGetContextNotFront
@covers ::getContext
      
    
File
- 
              core/tests/ Drupal/ Tests/ Core/ Cache/ Context/ IsFrontPathCacheContextTest.php, line 26 
Class
- IsFrontPathCacheContextTest
- @coversDefaultClass \Drupal\Core\Cache\Context\IsFrontPathCacheContext[[api-linebreak]] @group Cache
Namespace
Drupal\Tests\Core\Cache\ContextCode
public function testGetContextNotFront() {
  $cache_context = new IsFrontPathCacheContext($this->createPathMatcher(FALSE)
    ->reveal());
  $this->assertSame('is_front.0', $cache_context->getContext());
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
