You are here

function MemCacheSavingCase::testArray in Memcache API and Integration 6

Same name and namespace in other branches
  1. 7 tests/memcache.test \MemCacheSavingCase::testArray()
  2. 7 tests/memcache6.test \MemCacheSavingCase::testArray()

Test the saving and restoring of an array.

File

tests/memcache.test, line 145

Class

MemCacheSavingCase

Code

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