function MTimeProtectedFileStorageTest::testCRUD

Tests basic load/save/delete operations.

File

drupal/core/modules/system/lib/Drupal/system/Tests/PhpStorage/MTimeProtectedFileStorageTest.php, line 49
Definition of Drupal\system\Tests\PhpStorage\MTimeProtectedFileStorageTest.

Class

MTimeProtectedFileStorageTest
Tests the directory mtime based PHP loader implementation.

Namespace

Drupal\system\Tests\PhpStorage

Code

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