You are here

public function FileStorageTest::testCRUD in Drupal 9

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

Tests basic load/save/delete operations.

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

File

core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php, line 46

Class

FileStorageTest
@coversDefaultClass \Drupal\Component\PhpStorage\FileStorage @group Drupal @group PhpStorage

Namespace

Drupal\Tests\Component\PhpStorage

Code

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