You are here

public function BlocacheMetadataUnitTest::testSetBlock in Blocache (Block Cache Control) 8

@covers Drupal\blocache\BlocacheMetadata::setBlock

File

tests/src/Unit/BlocacheMetadataUnitTest.php, line 80

Class

BlocacheMetadataUnitTest
Tests for BlocacheMetadata class.

Namespace

Drupal\Tests\blocache\Unit

Code

public function testSetBlock() {
  $this
    ->assertInstanceOf(BlockInterface::class, $this->blocacheMetadata
    ->getBlock());
}