39 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
50 include_once
'./Services/Cache/classes/class.ilExampleCache.php';
53 $get = $cache->getEntry(
"test_id");
54 $stat = $cache->getLastAccessStatus();
55 $value.= $stat.
"-".$get.
"-";
57 $get = $cache->storeEntry(
"test_id",
"test_value");
58 $get = $cache->getEntry(
"test_id");
59 $stat = $cache->getLastAccessStatus();
60 $value.= $stat.
"-".$get.
"-";
64 $get = $cache->getEntry(
"test_id");
65 $stat = $cache->getLastAccessStatus();
66 $value.= $stat.
"-".$get.
"-";
68 $this->assertEquals(
"miss--hit-test_value-miss--", $value);