You are here

public function BackendSavingTests::testArray in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/Tests/Generic/Cache/BackendSavingTests.php \Drupal\supercache\Tests\Generic\Cache\BackendSavingTests::testArray()

Test the saving and restoring of an array.

File

src/Tests/Generic/Cache/BackendSavingTests.php, line 53

Class

BackendSavingTests
Test saving functions.

Namespace

Drupal\supercache\Tests\Generic\Cache

Code

public function testArray() {
  $this
    ->checkVariable(array(
    'drupal1' => '',
    'drupal2' => 'drupal3',
    'drupal4' => array(
      'drupal5',
      'drupal6',
    ),
  ));
}