{ } public function set($key, $data, $lifetime = null) { } public function remove($key) { } public function clean($mode = sfCache::ALL) { } public function getTimeout($key) { } public function getLastModified($key) { } public function removePattern($pattern, $delimiter = ':') { } } class fakeCache { } $t = new lime_test(1); // ->initialize() $t->diag('->initialize()'); $cache = new myCache(); $cache->initialize(array('foo' => 'bar')); $t->is($cache->getOption('foo'), 'bar', '->initialize() takes an array of options as its first argument');