You are here

function CacheSavingCase::testArray in Drupal 7

Test the saving and restoring of an array.

File

modules/simpletest/tests/cache.test, line 136

Class

CacheSavingCase

Code

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