function MTimeProtectedFileStorageTest::testCRUD

Tests basic load/save/delete operations.

File

drupal/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php, line 49
Definition of Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageTest.

Class

MTimeProtectedFileStorageTest
Tests the directory mtime based PHP loader implementation.

Namespace

Drupal\Tests\Component\PhpStorage

Code

function testCRUD() {
  $php = $this->storageFactory
    ->get('simpletest');
  $this
    ->assertSame(get_class($php), $this->storageClass);
  $this
    ->assertCRUD($php);
}