You are here

public function MTimeProtectedFileStorageBase::testCRUD in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase::testCRUD()

Tests basic load/save/delete operations.

@covers ::load @covers ::save @covers ::delete @covers ::exists

File

core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php, line 63

Class

MTimeProtectedFileStorageBase
Base test class for MTime protected storage.

Namespace

Drupal\Tests\Component\PhpStorage

Code

public function testCRUD() {
  $php = new $this->storageClass($this->settings);
  $this
    ->assertCRUD($php);
}