You are here

public function FootermapBlockTest::testGetCacheContexts in footermap: a footer site map 8

Asserts the cache contexts are returned.

File

tests/src/Unit/Plugin/Block/FootermapBlockTest.php, line 262

Class

FootermapBlockTest
Test footermap block methods.

Namespace

Drupal\Tests\footermap\Unit\Plugin\Block

Code

public function testGetCacheContexts() {
  $block = $this
    ->getPlugin();
  $this
    ->assertEquals([
    'languages',
  ], $block
    ->getCacheContexts());
}