public function BlockStorageUnitTest::testBlockCRUD

Tests CRUD operations.

File

drupal/core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php, line 56
Contains \Drupal\block\Tests\BlockStorageUnitTest.

Class

BlockStorageUnitTest
Tests the storage of blocks.

Namespace

Drupal\block\Tests

Code

public function testBlockCRUD() {
  $this
    ->assertTrue($this->controller instanceof BlockStorageController, 'The block storage controller is loaded.');

  // Run each test method in the same installation.
  $this
    ->createTests();
  $this
    ->loadTests();
  $this
    ->renderTests();
  $this
    ->deleteTests();
}